Help Center

CComplex.CAbsSqrmethod

Returns the absolute square (squared norm) of a complex number.

Numeric DatatypesmethodCComplex.incdocumented

Syntax

FUNCTION CAbsSqr () AS DOUBLE

Description

Returns the absolute square (squared norm) of a complex number.

Example

DIM cpx AS CComplex = CComplex(1.2345, -2.3456) print cpx.CAbsSqr Output: 7.025829610000001

Reference

  • Include file CComplex.inc
  • Defined in AfxNova/CComplex.inc:1838
  • Documented in Numeric Datatypes/CComplex Class.md
  • Topic: CComplex Class