cproj, cprojf, cprojl

Visual Studio 2015
 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at cproj, cprojf, cprojl.

Retrieves the projection of a complex number on the Reimann sphere.

_Dcomplex cproj(   
   _Dcomplex z   
);  
_Fcomplex cproj(   
   _Fcomplex z   
);  // C++ only  
_Lcomplex cproj(   
   _Lcomplex z   
);  // C++ only  
_Fcomplex cprojf(   
   _Fcomplex z   
);  
_Lcomplex cprojl(   
   _Lcomplex z   
);  

Parameters

z
A complex number.

The projection of z on the Reimann sphere.

Because C++ allows overloading, you can call overloads of cproj that take and return _Fcomplex and _Lcomplex values. In a C program, cproj always takes and returns a _Dcomplex value.

RoutineC headerC++ header
cproj, cprojf, cprojl<complex.h><ccomplex>

For more compatibility information, see Compatibility in the Introduction.

Alphabetical Function Reference
norm, normf, norml
creal, crealf, creall
conj, conjf, conjl
cimag, cimagf, cimagl
carg, cargf, cargl
cabs, cabsf, cabsl

Show: