Namespaces
Variants
Views
Actions

cprojf, cproj, cprojl

From cppreference.com
< c‎ | numeric‎ | complex
Defined in header <complex.h>
float       cprojf( float complex z );
(since C99)
double      cproj( double complex z );
(since C99)
long double cprojl( long double complex z );
(since C99)

Computes the projection of z on the Riemann sphere.

[edit] Parameters

z - complex argument

[edit] Return value

The projection of z on the Riemann sphere.

[edit] Example