CComplex.CNormmethod
Returns the squared magnitude of this complex number, otherwise known as the complex norm.
Syntax
FUNCTION CNorm () AS DOUBLE
Also documented as
CAbs2 — one description covers them all.Description
Returns the squared magnitude of this complex number, otherwise known as the complex norm.
Example
DIM cpx AS CComplex = CComplex(2, 3) PRINT cpx.CAbs2 Output: 13
Reference
- Include file
CComplex.inc - Defined in AfxNova/CComplex.inc:963
- Documented in Numeric Datatypes/CComplex Class.md
- Topic: CComplex Class