[ Web Proxy ]
URL:
Viewing: https://fr.cppreference.com/cpp/numeric/valarray/swap2 [Back]  [Original]

std::swap(std::valarray) cppreference.com
cppreference.com
Espaces de noms
Variantes

std::swap(std::valarray)

De cppreference.com

<metanoindex/>

 
 
Bibliothque Numerics
Fonctions mathmatiques courantes
Virgule flottante environnement
Nombres complexes
Tableaux numriques
La gnration de nombres pseudo-alatoires
Moment de la compilation arithmtique rationnelle (C++11)
Gnriques des oprations numriques
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iota (C++11)
accumulate
inner_product
adjacent_difference
partial_sum
 
 
<tbody> </tbody>
template< class T > void swap( valarray<T> &lhs, valarray<T> &rhs );
Spcialis l'algorithme std::swap pour std::valarray. Swaps le contenu de lhs et rhs. Appels lhs.swap(rhs) .
Original:
Specializes the std::swap algorithm for std::valarray. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Paramtres

lhs, rhs -
valarrays dont le contenu changer
Original:
valarrays whose contents to swap
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Retourne la valeur

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

Complexit

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

Voir aussi

swaps avec une autre valarray
Original:
swaps with another valarray
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]

Web Proxy Viewer  |  New URL  |  Original Page