Namespace
Varianti

std::atan2<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>

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

 
 
Numeri libreria
Comuni funzioni matematiche
Virgola mobile ambiente
I numeri complessi
Array numerici
Pseudo-casuale generazione
In fase di compilazione aritmetica razionale (C++11)
Generici operazioni numeriche
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
 
 
Elemento definito nell'header <valarray>
template< class T >
valarray<T> atan2( const valarray<T>& y, const valarray<T>& x );
(1)
template< class T >
valarray<T> atan2( const valarray<T>& y, const T& vx );
(2)
template< class T >
valarray<T> atan2( const T& vy, const valarray<T>& x );
(3)
Calcola la tangente inversa di y/x utilizzare i segni di argomenti per determinare correttamente quadrante.
Original:
Computes the inverse tangent of y/x using the signs of arguments to correctly determine quadrant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Calcola la tangente inversa di ogni coppia di valori corrispondenti da y e x.
Original:
Computes the inverse tangent of each pair of corresponding values from y and x.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Il comportamento è indefinito se x.size() != y.size().
Original:
The behavior is undefined if x.size() != y.size().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Calcola la tangente inversa di vx e ogni valore nella y matrice numerica.
Original:
Computes the inverse tangent of vx and each value in the numeric array y.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Calcola la tangente inversa di vy e ogni valore nella x matrice numerica.
Original:
Computes the inverse tangent of vy and each value in the numeric array x.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Indice

[modifica] Parametri

x, y -
matrici numeriche per calcolare tangente inversa
Original:
numeric arrays to compute inverse tangent of
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
vy, vx -
valori per calcolare tangente inversa
Original:
values to compute inverse tangent of
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Valore di ritorno

Un array numerico contenente i risultati di calcolo di tangente inversa.
Original:
A numeric array containing the results of computation of inverse tangent.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Note

Funzione non qualificato (atan2) viene utilizzato per eseguire il calcolo. Se tale funzione non è disponibile, std::atan2 viene utilizzato a causa di ricerca tesi a carico.
Original:
Unqualified function (atan2) is used to perform the computation. If such function is not available, std::atan2 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.
La funzione può essere implementata con il tipo restituito diverso da std::valarray. In questo caso, il tipo di sostituzione ha le seguenti proprietà:
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.
  • Tutte le funzioni di membro const std::valarray sono forniti.
    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 std::indirect_array e può essere costruito con il tipo di sostituzione.
    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.
  • Tutte le funzioni che accettano un argomento di const std::valarray& tipo devono anche accettare il tipo di sostituzione.
    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.
  • Tutte le funzioni che accettano due argomenti di tipo const std::valarray& dovrebbe accettare ogni combinazione di const std::valarray& e il tipo di sostituzione.
    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.

[modifica] Esempio

[modifica] Vedi anche

arco tangente, utilizzando le indicazioni per determinare quadranti
Original:
arc tangent, using signs to determine quadrants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(funzione) [modifica]