norm, normfnorml

Ruft die quadratische Größe einer komplexen Zahl ab.

Syntax

double norm( _Dcomplex z );
float normf( _Fcomplex z );
long double norml( _Lcomplex z );
float norm( _Fcomplex z );  // C++ only
long double norm( _Lcomplex z );  // C++ only

Parameter

z
Eine komplexe Zahl.

Rückgabewert

Die quadratische Größe von z.

Hinweise

Da C++ das Überladen zulässt, können Sie Überladungen von norm aufrufen, die _Fcomplex- oder _Lcomplex-Werte annehmen und float- oder long double-Werte zurückgeben. In einem C-Programm nimmt norm immer einen _Dcomplex-Wert an und gibt einen double-Wert zurück.

Anforderungen

Routine C-Header C++-Header
norm, normfnorml <complex.h> <complex.h>

Die _FcomplexTypen _Dcomplexsind _Lcomplex microsoftspezifische Entsprechungen der nicht implementierten nativen C99-Typen float _Complex, double _Complex und long double _Complex. Weitere Informationen zur Kompatibilität finden Sie unter Kompatibilität.

Weitere Informationen

Alphabetische Funktionsreferenz
creal, crealfcreall
cproj, cprojfcprojl
conj, conjfconjl
cimag, cimagfcimagl
carg, cargfcargl
cabs, cabsfcabsl