38#define M_PI atan(1.0) * 4.0
Stores data of any type T in a 1D array.
Definition Array1D.h:61
Stores data of any type T in a 2D array.
Definition Array2D.h:60
int maxIndex(Array1D< double > &vector)
Returns the index of the maximal value of a 1d double array.
Definition minmax.cpp:158
int maxIndexC_2D(const Array2D< double > &vector, const int icol)
Returns the column number of the maximal element in the irow-th row of a 2d double array.
Definition minmax.cpp:240
double minVal(const Array1D< double > &vector)
Returns the minimum value of a 1d double array.
Definition minmax.cpp:112
int minIndexC_2D(const Array2D< double > &vector, const int icol)
Returns the row number of the minimal element in the icol-th column of a 2d double array.
Definition minmax.cpp:259
void getDomain(Array2D< double > &data_in, Array1D< double > &a, Array1D< double > &b)
Get domain of the data.
Definition minmax.cpp:38
double maxVal(Array1D< double > &vector)
Returns the maximum value of a 1d double array.
Definition minmax.cpp:65
int minIndex(Array1D< double > &vector)
Returns the index of the minimal value of a 1d double array.
Definition minmax.cpp:169