Namensräume
Varianten
Aktionen

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>

Aus cppreference.com
< cpp‎ | numeric‎ | valarray

 
 
Numerik-Bibliothek
Gemeinsame mathematischen Funktionen
Floating-Point-Umgebung
Komplexe Zahlen
Numerische Arrays
Pseudo-Zufallszahlen
Compile-time rationale Arithmetik (C++11)
Generische numerische Operationen
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
 
std::valarray
Member-Funktionen
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Non-Member-Funktionen
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Helper-Klassen
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
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)
Vergleicht jeden Wert innerhalb des numerischen Array mit einem anderen Wert .
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.
1)
Gibt einen numerischen Array von bool enthaltenden Elementen, von denen jeder durch Anwenden des angegebenen Vergleichsoperator, um den entsprechenden Werten der lhs und rhs erhalten wird
Original:
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 rhs
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Das Verhalten ist, wenn size() != v.size() undefiniert
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.
2)
Gibt einen numerischen Array von bool enthaltenden Elementen, von denen jeder durch Anwenden des angegebenen Vergleichsoperator an lhsv und dem entsprechenden Wert der rhs erhalten wird .
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.
3)
Gibt einen numerischen Array von bool enthaltenden Elementen, von denen jeder durch Anwenden des angegebenen Vergleichsoperator, um den entsprechenden Wert des lhs und rhsv erhalten wird .
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.

Inhaltsverzeichnis

[Bearbeiten] Parameter

lhs, rhs -
numerische Arrays zu vergleichen
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 -
Werte für jedes Element innerhalb eines numerischen Array vergleichen
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.

[Bearbeiten] Rückgabewert

Ein numerisches Array bool mit Vergleichsergebnisse von entsprechenden Elementen .
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.

[Bearbeiten] Ausnahmen

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

[Bearbeiten] Notes

Jeder der Operatoren können nur instanziiert, wenn folgende Voraussetzungen erfüllt sind:
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.
  • Der angegebene Operator angewendet T einzugeben
    Original:
    The indicated operator can be applied to type T
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • Der resultierende Wert kann eindeutig bool umgewandelt werden .
    Original:
    The result value can be unambiguously converted to bool.
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
Die Funktion kann mit dem Rückgabetyp anders std::valarray umgesetzt werden. In diesem Fall weist die Ersetzungsart die folgenden Eigenschaften:
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.
  • Alle const Elementfunktionen std::valarray bereitgestellt werden .
    Original:
    All const member 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_array und std::indirect_array kann aus dem Ersatz-Typ gebaut werden .
    Original:
    std::valarray, std::slice_array, std::gslice_array, std::mask_array and std::indirect_array can 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.
  • Alle Funktionen Annehmen eines Argumente des Typs const std::valarray& sollten auch akzeptieren, den Austausch Typ .
    Original:
    All functions accepting a arguments of type const 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.
  • Alle Funktionen mit zwei Parametern vom Typ const std::valarray& sollten akzeptieren, jede Kombination von const std::valarray& und den Ersatz Typ .
    Original:
    All functions accepting two arguments of type const std::valarray& should accept every combination of const 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.