Help Center

CComplex.CRectproperty

Uses the cartesian components (x,y) to set the real and imaginary parts of the complex number.

Numeric DatatypespropertyCComplex.incdocumented

Syntax

PROPERTY CRect (BYVAL x AS DOUBLE, BYVAL y AS DOUBLE)
Also documented as CSet — one description covers them all.

Parameters

NameDescription
x, yDouble values.

Description

Uses the cartesian components (x,y) to set the real and imaginary parts of the complex number.

Example

DIM cpx AS CComplex : cpx.CSet = 3, 4 DIM cpx AS CComplex : cpx.CRect = 3, 4

Reference

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