CComplex.CMulmethod
Multiplies by a complex number.
Syntax
FUNCTION CMul (BYREF z AS CComplex) AS CComplex
FUNCTION CMul (BYVAL x AS DOUBLE, BYVAL y AS DOUBLE) AS CComplex
Parameters
| Name | Description | |
|---|---|---|
z | A complex number. | |
x, y | Double values representing the real and imaginary parts. |
Description
Multiplies by a complex number.
Multiplies by a real and an imaginary number.
Examples
DIM cpx AS CComplex = CComplex(5, 6) DIM cpx2 AS CComplex = CComplex(2, 3) cpx = cpx.CMul(cpx2) ' --or-- cpx = cpx.CMul(CComplex(2, 3))
DIM cpx AS CComplex = CComplex(5, 6) cpx = cpx.CMul(2, 3)
Reference
- Include file
CComplex.inc - Defined in AfxNova/CComplex.inc:741
- Documented in Numeric Datatypes/CComplex Class.md
- Topic: CComplex Class