24 lines
469 B
Plaintext
24 lines
469 B
Plaintext
|
|
{{alias}}( z )
|
|
Returns the real and imaginary components of a complex number.
|
|
|
|
Parameters
|
|
----------
|
|
z: Complex
|
|
Complex number.
|
|
|
|
Returns
|
|
-------
|
|
out: Float64Array|Float32Array
|
|
Array containing the real and imaginary components, respectively.
|
|
|
|
Examples
|
|
--------
|
|
> var z = new {{alias:@stdlib/complex/float64}}( 5.0, 3.0 );
|
|
> var out = {{alias}}( z )
|
|
<Float64Array>[ 5.0, 3.0 ]
|
|
|
|
See Also
|
|
--------
|
|
|