valarray::max
valarray::max
T max() const;
The member function returns the value of the largest element of *this
, which must have nonzero length. If the length is greater than one, it compares values by applying operator<
between pairs of corresponding elements of class T
.