operator==,!=,<,<=,>,>=<div class="t-tr-text">std :: valarray<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">std::valarray</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody> template< class T > valarray<bool> operator==( const valarray<T>& lhs, const valarray<T>& rhs ); template< class T > valarray<bool> operator!=( const valarray<T>& lhs, const valarray<T>& rhs ); template< class T > valarray<bool> operator<( const valarray<T>& lhs, const valarray<T>& rhs ); template< class T > valarray<bool> operator<=( const valarray<T>& lhs, const valarray<T>& rhs ); template< class T > valarray<bool> operator>( const valarray<T>& lhs, const valarray<T>& rhs ); template< class T > valarray<bool> operator>=( const valarray<T>& lhs, const valarray<T>& rhs ); |
(1) | |
template< class T > valarray<bool> operator==( const T& lhsv, const valarray<T>& rhs ); template< class T > valarray<bool> operator!=( const T& lhsv, const valarray<T>& rhs ); template< class T > valarray<bool> operator<( const T& lhsv, const valarray<T>& rhs ); template< class T > valarray<bool> operator<=( const T& lhsv, const valarray<T>& rhs ); template< class T > valarray<bool> operator>( const T& lhsv, const valarray<T>& rhs ); template< class T > valarray<bool> operator>=( const T& lhsv, const valarray<T>& rhs ); |
(2) | |
template< class T > valarray<bool> operator==( const valarray<T>& lhs, const T& rhsv ); template< class T > valarray<bool> operator!=( const valarray<T>& lhs, const T& rhsv ); template< class T > valarray<bool> operator<( const valarray<T>& lhs, const T& rhsv ); template< class T > valarray<bool> operator<=( const valarray<T>& lhs, const T& rhsv ); template< class T > valarray<bool> operator>( const valarray<T>& lhs, const T& rhsv ); template< class T > valarray<bool> operator>=( const valarray<T>& lhs, const T& rhsv ); |
(3) | |
Compare chaque valeur dans le tableau numérique avec une autre valeur .
Original:
Compares each value within the numeric array with another value.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
1)
Retourne un tableau numérique contenant des éléments
bool dont chacune est obtenue en appliquant l'opérateur de comparaison indiqué pour les valeurs correspondantes de lhs et rhsOriginal:
Returns a numeric array of
bool containing elements each of which is obtained by applying the indicated comparison operator to the corresponding values of lhs and rhsThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Le comportement est indéfini si
size() != v.size()Original:
The behavior is undefined if
size() != v.size()The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
2)
Retourne un tableau numérique contenant des éléments
bool dont chacune est obtenue en appliquant l'opérateur de comparaison indiqué à lhsv et la valeur correspondante de rhs .Original:
Returns a numeric array of
bool containing elements each of which is obtained by applying the indicated comparison operator to lhsv and the corresponding value of rhs .The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
3)
Retourne un tableau numérique contenant des éléments
bool dont chacune est obtenue en appliquant l'opérateur de comparaison indiquée et la valeur correspondante de lhs et rhsv .Original:
Returns a numeric array of
bool containing elements each of which is obtained by applying the indicated comparison operator to the corresponding value of lhs and rhsv.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
| lhs, rhs | - | tableaux numériques à comparer
Original: numeric arrays to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| lhsv, rhsv | - | Les valeurs à comparer à chaque élément dans un tableau numérique
Original: values to compare to each element within a numeric array 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
Un tableau numérique contenant des
bool résultats de comparaison des éléments correspondants .Original:
A numeric array of
bool containing comparison results of corresponding elements.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Exceptions
(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.
You can help to correct and verify the translation. Click here for instructions.
Notes
Chacun des opérateurs ne peut être instanciée si les conditions suivantes sont remplies:
Original:
Each of the operators can only be instantiated if the following requirements are met:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
- L'opérateur indiqué peut être appliqué à taper
TOriginal:The indicated operator can be applied to typeTThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - La valeur de résultat peuvent être sans ambiguïté converti en
bool.Original:The result value can be unambiguously converted tobool.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
La fonction peut être mise en œuvre avec le type de retour différent de std::valarray. Dans ce cas, le type de remplacement a les propriétés suivantes:
Original:
The function can be implemented with the return type different from std::valarray. In this case, the replacement type has the following properties:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
- Toutes les fonctions de membre de
conststd::valarray sont fournis .Original:Allconstmember functions of std::valarray are provided.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - std::valarray,
std::slice_array,std::gslice_array,std::mask_arrayetstd::indirect_arraypeut être construit à partir du type de remplacement .Original:std::valarray,std::slice_array,std::gslice_array,std::mask_arrayandstd::indirect_arraycan be constructed from the replacement type.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Toutes les fonctions acceptant un argument de type de
const std::valarray&devrait également accepter le type de remplacement .Original:All functions accepting a arguments of typeconst std::valarray&should also accept the replacement type.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Toutes les fonctions qui acceptent deux arguments de type de
const std::valarray&devrait accepter toutes les combinaisons deconst std::valarray&et le type de remplacement .Original:All functions accepting two arguments of typeconst std::valarray&should accept every combination ofconst std::valarray&and the replacement type.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.