Namensräume
Varianten

std::valarray::apply

Aus cppreference.com

<metanoindex/>

 
 
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
 
 
<tbody> </tbody>
valarray<T> apply( T func(T) ) const;
valarray<T> apply( T func(const T&) ) const;
Gibt ein neues valarray gleicher Größe mit den Werten, die durch Anwendung der Funktion func zu den vorherigen Werten der Elemente erfasst werden .
Original:
Returns a new valarray of the same size with values which are acquired by applying function func to the previous values 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.

Parameter

func -
Funktion, um die Werte zu übernehmen
Original:
function to apply to the values