|
C_AnalyseExtrema |
C_AnalyseExtrema locates the minimum and maximum values in an array of floating point values. Values of OrcinaNullReal() are ignored; values of OrcinaDefaultReal() and OrcinaUndefinedReal() result in an error.
void C_AnalyseExtrema(
double *lpValues,
int Count,
double *lpMaximum,
double *lpMinimum,
int *lpIndexOfMaximum,
int *lpIndexOfMinimum,
int *lpStatus
);
Points to the beginning of the array of values.
The number of values in the array. Count must be greater than zero.
Points to a variable in which the maximum value in the array will be returned.
Points to a variable in which the minimum value in the array will be returned.
Points to a variable in which the index of maximum value in the array will be returned. This index is zero-based so a value of zero refers to the first value in the array.
Points to a variable in which the index of minimum value in the array will be returned. This index is zero-based so a value of zero refers to the first value in the array.
Points to a variable in which the status result for the function call will be returned.