Namespaces
Variants
Views
Actions

std::valarray::min

From cppreference.com
< cpp‎ | numeric‎ | valarray
Revision as of 14:05, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
T min() const;

Computes the minimum value of the elements.

If there are no elements, the behavior is undefined.

The function can be used only if operator< is defined for type T.

Contents

Parameters

(none)

Return value

The minimum of the elements.

Example

See also

Template:cpp/numeric/valarray/dcl list max