Espacios de nombres
Variantes
Acciones

CMPLXF, CMPLX, CMPLXL

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

 
 
 
Aritmética de números complejos
Los tipos y la constante imaginaria
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.
Manipulación
Original:
Manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Potencia y funciones exponenciales
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.
Funciones 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.
Las funciones 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 );
Devuelve un número complejo compuesto de real como la parte real y imag como la parte imaginaria. Las funciones se implementan 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.
El valor devuelto en adecuado para su uso como inicializador para las variables con duración de almacenamiento estático o hilo, pero si sólo real y imag también son adecuados .
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 -
la parte real del número complejo para volver
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 -
la parte imaginaria del número complejo para volver
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

Un número complejo compuesto por real y imag como las partes real e imaginaria .
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] Ejemplo