numeric

C++ library with numerical algorithms
git clone git://src.adamsgaard.dk/numeric # fast
git clone https://src.adamsgaard.dk/numeric.git # slow
Log | Files | Refs | README | LICENSE Back to index

header.h (473B)


      1 // Make sure header is only included once
      2 #ifndef HEADER_H_
      3 #define HEADER_H_
      4 
      5 #include <vector>
      6 
      7 // Define whether the program should output values of matrices
      8 const bool verbose = false;
      9 
     10 // Choose vector length variable type
     11 typedef int Lengthtype;
     12  
     13 // Choose floating-point precision
     14 typedef double Floattype;
     15 
     16 // File output function prototype
     17 int write_output(const std::vector<Floattype> &a,
     18     		 const std::vector<Floattype> &b,
     19 		 const char *outfile);
     20 
     21 #endif