In file Mt.d:

void MtVectorMinMax

(float a[], I32 ia, I32 n, float* min_val,
  I32* min_index, float* max_val,
  I32* max_index, float* null_value)

Finds the index and value of the minimum and maximum of the input vector.

Documentation

Finds the index and value of the minimum and maximum of the input vector.
Parameters:
a - is the input real vector.
ia - is the stride through a.
n - is the number of elements in the input.
min_val - holds on output the minimum value of element in a.
min_index - holds on output the first instance of min_val.
max_val - holds on output the maximum value of the elements of a.
max_index - holds on output the first instance of max_val.
Returns:
none.

Alphabetic index HTML hierarchy of classes or Java


Copyright 1993, 1994 Geophysical Software, Inc.
2603 Peninsulas Drive, Missouri City Texas 77459, (713)438-0583.
All Rights Reserved Company Confidential
Prepared for University of Minnesota, October, 2001