Posts Tagged ‘cimag’

creal, crealf, creall – get real part of a complex number
USAGE
#include <complex.h>

double creal(double complex z);
float crealf(float complex z);
long double creall(long double complex z);

[...]

Thursday, August 27th, 2009 at 02:01 | Comments Off
Categories: c

cimag, cimagf, cimagl – get imaginary part of a complex number
USAGE
#include <complex.h>

double cimag(double complex z);
float cimagf(float complex z);
long double cimagl(long double complex z);

[...]

Thursday, August 27th, 2009 at 00:21 | Comments Off
Categories: c

cabs, cabsf, cabsl – absolute value of a complex number
USAGE
#include <complex.h>

double cabs(double complex z);
float cabsf(float complex z);
long double cabsl(long double complex z);

[...]

Thursday, August 27th, 2009 at 00:13 | Comments Off
Categories: c

complex – basics of complex mathematics
USAGE
#include <complex.h>

DESCRIPTION
Complex numbers are numbers of the form z = a+b*i, where a and b are
real numbers and i = sqrt(-1), so that i*i = -1.
[...]

Wednesday, August 26th, 2009 at 09:49 | Comments Off
Categories: c
TOP