C Programming/complex.h/cproj

cproj is a standard C programming language function.

Prototypes edit

double complex cproj(double complex z);
float complex cprojf(float complex z);
long double complex cprojl(long double complex z);

Purpose edit

Used to compute complex projection functions.

Parameters edit

The values which have to be projected are specified by z.

Description edit

This is complex projection functions. these are available for integrity servers. The projection of complex floating point-number z onto the Riemann sphere is done by cproj(). But all complex infinities are projected to positive infinity on the real axis.

Return value edit

The cproj() return the value of projection on Riemann sphere.