Parameters
noneReturn value
The highest value in the valarray.T is the template type of valarray (the elements' type).
Example
| 1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Output:
The max is 40 |
See also
| valarray::sum | Return sum of elements (public member function) |
| valarray::min | Return lowest value (public member function) |
| valarray operators | Valarray operators (functions) |
