UQTk: Uncertainty Quantification Toolkit 3.1.5
|
Header for min/max tools. More...
Go to the source code of this file.
Macros | |
#define | M_PI atan(1.0) * 4.0 |
Define M_PI for compatibility with cygwin on Windows. | |
Functions | |
void | getDomain (Array2D< double > &data_in, Array1D< double > &a, Array1D< double > &b) |
Get domain of the data. | |
double | maxVal (Array1D< double > &vector) |
Returns the maximum value of a 1d double array. | |
int | maxVal (const Array1D< int > &vector) |
Returns the maximum value of a 1d int array. | |
double | maxVal (const Array2D< double > &vector) |
Returns the maximum value of a 2d double array. | |
int | maxVal (const Array2D< int > &vector) |
Returns the maximum value of a 2d int array. | |
double | minVal (const Array1D< double > &vector) |
Returns the minimum value of a 1d double array. | |
int | minVal (const Array1D< int > &vector) |
Returns the minimum value of a 1d int array. | |
double | minVal (const Array2D< double > &vector) |
Returns the minimum value of a 2d double array. | |
int | minVal (const Array2D< int > &vector) |
Returns the minimum value of a 2d int array. | |
int | maxIndex (Array1D< double > &vector) |
Returns the index of the maximal value of a 1d double array. | |
int | maxIndex (Array1D< int > &vector) |
Returns the index of the maximal value of a 1d int array. | |
int | minIndex (Array1D< double > &vector) |
Returns the index of the minimal value of a 1d double array. | |
int | minIndex (Array1D< int > &vector) |
Returns the index of the minimal value of a 1d int array. | |
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. | |
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. | |
Header for min/max tools.
#define M_PI atan(1.0) * 4.0 |
Define M_PI for compatibility with cygwin on Windows.
Get domain of the data.
int maxIndex | ( | Array1D< double > & | vector | ) |
Returns the index of the maximal value of a 1d double array.
int maxIndex | ( | Array1D< int > & | vector | ) |
Returns the index of the maximal value of a 1d int array.
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.
Returns the column number of the minimal element in the irow-th row of a 2d double array
Returns the row number of the maximal element in the icol-th column of a 2d double array
double maxVal | ( | Array1D< double > & | vector | ) |
Returns the maximum value of a 1d double array.
int maxVal | ( | const Array1D< int > & | vector | ) |
Returns the maximum value of a 1d int array.
double maxVal | ( | const Array2D< double > & | vector | ) |
Returns the maximum value of a 2d double array.
int maxVal | ( | const Array2D< int > & | vector | ) |
Returns the maximum value of a 2d int array.
int minIndex | ( | Array1D< double > & | vector | ) |
Returns the index of the minimal value of a 1d double array.
int minIndex | ( | Array1D< int > & | vector | ) |
Returns the index of the minimal value of a 1d int array.
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.
double minVal | ( | const Array1D< double > & | vector | ) |
Returns the minimum value of a 1d double array.
int minVal | ( | const Array1D< int > & | vector | ) |
Returns the minimum value of a 1d int array.
double minVal | ( | const Array2D< double > & | vector | ) |
Returns the minimum value of a 2d double array.
int minVal | ( | const Array2D< int > & | vector | ) |
Returns the minimum value of a 2d int array.