Espaços nominais
Variantes
Acções

CMPLXF, CMPLX, CMPLXL

Da cppreference.com
< c‎ | numeric‎ | complex

 
 
 
Aritmética número complexo
Tipos e constantes do imaginário
Original:
Types and the imaginary constant
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulação
Original:
Manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Poder e funções exponenciais
Original:
Power and exponential functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Funções trigonométricas
Original:
Trigonometric functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Funções hiperbólicas
Original:
Hyperbolic functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Defined in header <complex.h>
float complex       cpowf( float real, float imag );
doulbe complex      cpow( double real, double imag );
long double complex cpowl( long double real, long double imag );
Retorna um número complexo composto por real como a parte real e imag como a parte imaginária. As funções são implementadas como macros.
Original:
Returns a complex number composed of real as the real part and imag as the imaginary part. The functions are implemented as macros.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
O valor retornado em adequado para utilização como inicializador para variáveis ​​com duração de armazenagem estática ou segmento, mas somente se real e imag também são adequados.
Original:
The returned value in suitable for use as initializer for variables with static or thread storage duration, but only if real and imag are also suitable.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Parâmetros

real -
a parte real do número complexo de voltar
Original:
the real part of the complex number to return
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
imag -
a parte imaginária de um número complexo de voltar
Original:
the imaginary part of the complex number to return
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

Um número complexo composto por real e imag como as partes real e imaginária.
Original:
A complex number composed of real and imag as the real and imaginary parts.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Exemplo