kdata_minmax - find the min/max values for a region of data
LIBRARY CALL
int kdata_minmax(
kaddr data,
int num,
int datatype,
double *minval,
double *maxval)
INPUT
data - point to the data to find the min/max value
num - number of points to be searched
datatype - data type of the data
OUTPUT
minval - returns the minimum value
maxval - returns the maximum value
RETURN VALUE
TRUE (1) on success, FALSE (0) otherwise
DESCRIPTION
This function is used to find the min/max values
associated with a region of memory. A datatype
is used to determine how to search the data set.
The data types are byte, unsigned byte, short,
unsigned short, long, unsigned long, int, unsigned int,
float, and double.