Espaços nominais
Variantes
Acções

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

 
 
Biblioteca numéricos
Funções matemáticas comuns
De ponto flutuante ambiente
Números complexos
Matrizes numéricas
Pseudo-aleatório de geração de números
Tempo de compilação aritmética racional(C++11)
Genéricos operações numéricas
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.
(C++11)
 
 
Definido no cabeçalho <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)
Calcula a tangente inversa de y/x usando os sinais de argumentos para determinar corretamente 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)
Calcula a tangente inversa de cada par de valores correspondentes a partir 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.
O comportamento é indefinido 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)
Calcula a tangente inversa de vx e cada valor na y matriz numérica.
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)
Calcula a tangente inversa de vy e cada valor na x matriz numérica.
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.

Índice

[editar]Parâmetros

x, y -
matrizes numéricas para calcular a tangente inversa do
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 -
para calcular os valores de 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.

[editar]Valor de retorno

A matriz numérica com os resultados do cálculo da 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.

[editar]Notas

Qualificado de função (atan2) é usado para executar o cálculo. Se essa função não estiver disponível, std::atan2 é utilizado devido ao argumento de pesquisa dependente.
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.
A função pode ser implementada com o tipo de retorno diferente de std::valarray. Neste caso, o tipo de substituição tem as seguintes propriedades:
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.
  • Todas as funções const membros std::valarray são fornecidos.
    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_arraystd::indirect_array e pode ser construído a partir do tipo de reposição.
    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.
  • Todas as funções de aceitar um argumentos de conststd::valarray& tipo devem também aceitar o tipo de substituição.
    Original:
    All functions accepting a arguments of type conststd::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.
  • Todas as funções que aceitam dois argumentos do tipo conststd::valarray& deve aceitar todas as combinações de conststd::valarray& e do tipo de substituição.
    Original:
    All functions accepting two arguments of type conststd::valarray& should accept every combination of conststd::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.

[editar]Exemplo

[editar]Veja também

arco tangente, usando sinais para determinar quadrantes
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.

(função)[edit]
close