CComplex.CSetproperty
Uses the cartesian components (x,y) to set the real and imaginary parts of the complex number.
Syntax
PROPERTY CSet (BYVAL x AS DOUBLE, BYVAL y AS DOUBLE)
Also documented as
CRect — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
x, y | Double 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:369
- Documented in Numeric Datatypes/CComplex Class.md
- Topic: CComplex Class