20 double *
vector2array(
const std::vector<double> &a,
const unsigned size);
26 double **
vector2array(
const std::vector<double> &a,
const unsigned M,
const unsigned N);
35 std::vector<std::vector<double> >
vector2vector(
const std::vector<double> &a,
const int N,
const int M);
36 std::vector<double>
array2vector(
const double *a,
const int size);
40 std::vector<std::vector<double> >
array2vector(
const double *a,
const int N,
const int M);
45 double str2num(
const std::string &s);
50 std::string
num2str(
const double x);
55 double matlabfmod(
const double x,
const double y);
67 void writeToTxtFile(
const std::string file_name,
const std::vector<double> &data);
68 void writeToTxtFile(
const std::string file_name,
const std::vector<std::vector<double> > &data);
84 const std::vector<double> &b,
85 const std::vector<double> &c,
86 const std::vector<double> &d);
95 const std::vector<double> &rhs);
108 const std::vector<double> &y,
109 const std::vector<double> &xi);
113 const std::vector<double> &y,
114 const std::vector<std::vector<double> > &z,
125 void convertIndex(
const int index,
const int nZ,
int j,
int k);
135 void convertIndex(
const int index,
const int nY,
const int nZ,
int i,
int j,
int k);
147 const std::vector<double> &z,
152 const std::vector<double> &y,
153 const std::vector<double> &z,
162 const std::vector<double> &z,
167 const std::vector<double> &y,
168 const std::vector<double> &z,
180 const std::vector<double> &y,
181 const std::vector<std::vector<double> > &z,
182 const std::vector<double> &xi,
183 const std::vector<double> &yi);
188 std::vector<double>
poly_interp(
const std::vector<double> &x,
189 const std::vector<double> &y,
190 const std::vector<double> &xi);
202 int findEqual(
const std::vector<double> &reference,
const double x,
int i,
int j);
207 std::vector<int>
findEqual(
const std::vector<double> &reference,
const double x);
208 std::vector<int>
findEqual(
const std::vector<std::vector<double> > &reference,
const double x);
224 bool essentiallyEqual(
const double a,
const double b,
const double epsilon);
248 std::vector<double>
estimateAmplitudePhase(
const std::vector<double> &data,
const double frequency,
const double delta_t);
249 double cot(
const double x);
250 double acot(
const double x);
253 bool isOdd(
unsigned n);