Help Center

CInversefunction

Returns the inverse, or reciprocal, of a complex number.

Numeric DatatypesfunctionAfxComplex.incdocumented

Syntax

FUNCTION CInverse (BYREF value AS _complex) AS _complex
Also documented as CReciprocal — one description covers them all.

Description

Returns the inverse, or reciprocal, of a complex number.

Example

DIM z AS _complex = (1, 1) z = CReciprocal(z) PRINT CStr(z) Output: 0.5 -0.5 * i

Reference

  • Include file AfxComplex.inc
  • Defined in AfxNova/AfxComplex.inc:643
  • Documented in Numeric Datatypes/Complex Numbers Procedures.md
  • Topic: Complex Numbers Procedures