complex()
Returns complex number given real and imaginary
Syntax
y = complex(x, y)
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| x | real part of complex number | (-∞, ∞) | integer, real | yes |
| y | imaginary part of complex number | (-∞, ∞) | integer, real | yes |
Examples
a = complex(2, -1)
returns 2 - 1j
Defined in
$HPEESOF_DIR/expressions/ael/elementary_fun.ael
See Also
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()