Does not inherit
Prototypes | Header File(s) | |
template <class T> | ||
int | maxIndex(const RWMathVec<T>&) | <rw/math/mathvec.h> |
int | minIndex(const RWMathVec<T>&) | <rw/math/mathvec.h> |
void | maxIndex(const RWGenMat<T>&, int* maxi, int* maxj) | <rw/math/genmat.h> |
void | minIndex(const RWGenMat<T>&, int* maxi, int* maxj) | <rw/math/genmat.h> |
RWIntVec | maxIndex(const RWMathArray<T>&) | <rw/math/mtharray.h> |
RWIntVec | minIndex(const RWMathArray<T>&) | <rw/math/mtharray.h> |
Take a vector or array as an argument and return the index of the maximum or minimum element of the vector, respectively. If instead you want the maximum or minimum value of the vector, use function maxValue() or minValue().
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.