Espacios de nombres
Variantes

std::valarray::max

De cppreference.com
 
 
 
 
<tbody> </tbody>
T max() const;
Calcula el valor máximo de los elementos .
Original:
Computes the maximum value of the elements.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Si no hay elementos, el comportamiento es indefinido .
Original:
If there are no elements, the behavior is undefined.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
La función puede utilizarse únicamente si operator< se define para el tipo T .
Original:
The function can be used only if operator< is defined for type T.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parámetros

(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

El máximo de los elementos .
Original:
The maximum of the elements.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ejemplo

Ver también

devuelve el elemento más pequeño
Original:
returns the smallest element
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función miembro pública) [editar]