CComplex.CMagnitudemethod
Returns the magnitude of this complex number.
Syntax
FUNCTION CMagnitude () AS DOUBLE
Also documented as
CAbs — one description covers them all.Description
Returns the magnitude of this complex number.
Example
DIM cpx AS CComplex = CComplex(2, 3) PRINT cpx.CAbs Output: 3.60555127546399
Reference
- Include file
CComplex.inc - Defined in AfxNova/CComplex.inc:926
- Documented in Numeric Datatypes/CComplex Class.md
- Topic: CComplex Class