Namensräume
Varianten
Aktionen

std::pow<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
 
 
Defined in header <valarray>
template< class T >
valarray<T> pow( const valarray<T>& base, const valarray<T>& exp );
(1)
template< class T >
valarray<T> pow( const valarray<T>& base, const T& vexp );
(2)
template< class T >
valarray<T> pow( const T& vbase, const valarray<T>& exp );
(3)
Löst ein Wert in eine Potenz .
Original:
Raises a value to a power.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Berechnet die Werte eines jeden Elements in der numerischen Array base der Kraft durch das entsprechende Element aus der numerischen Array spezifiziert exp angehoben .
Original:
Computes the values of each element in the numeric array base raised to the power specified by the corresponding element from the numeric array exp.
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 base.size() != exp.size() undefined .
Original:
The behavior is undefined if base.size() != exp.size().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Berechnet die Werte eines jeden Elements in der numerischen Array base potenziert vexp .
Original:
Computes the values of each element in the numeric array base raised to the power vexp.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Berechnet die Werte der vbase potenziert durch die Elemente in der numerischen Array exp definiert .
Original:
Computes the values of vbase raised to the power defined by the elements in the numeric array exp.
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

base -
numerisches Array mit den Werten der Basis
Original:
numeric array containing the values of the base
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
exp -
numerisches Array mit den Werten des Exponenten
Original:
numeric array containing the values of the exponent
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
vbase -
ein Wert definiert die Basis
Original:
a value defining the base
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
vexp -
ein Wert definiert den Exponenten
Original:
a value defining the exponent
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 mit den Ergebnissen der Potenzierung .
Original:
A numeric array containing the results of exponentiation.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Notes

Unqualifizierte Funktion (pow) verwendet wird, um die Berechnung auszuführen. Wenn diese Funktion nicht verfügbar ist, wird std::pow verwendet wird wegen Argument abhängig Lookup .
Original:
Unqualified function (pow) is used to perform the computation. If such function is not available, std::pow is used due to argument dependent lookup.
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.

[Bearbeiten] Beispiel

[Bearbeiten] Siehe auch

wirft eine Reihe an die angegebene Leistung (xy)
Original:
raises a number to the given power (xy)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(Funktion) [edit]