Does not inherit
Prototypes | Header File(s) | |
template <class T> | ||
T | mean(const RWMathVec<T>&) | <rw/math/mathvec.h> |
T | mean(const RWGenMat<T>&) | <rw/math/genmat.h> |
T | mean(const RWMathArray<T>&) | <rw/math/mtharray.h> |
Takes a vector or matrix as an argument and returns <x>, the mean value, where:
For example, if x = [1, 4, 3, 4], then <x> = 3.
© 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.