bifocal/node_modules/@stdlib/complex-reimf/docs/repl.txt

25 lines
494 B
Plaintext

{{alias}}( z )
Returns the real and imaginary components of a single-precision complex
floating-point number.
Parameters
----------
z: Complex64
Complex number.
Returns
-------
out: Float32Array
Array containing the real and imaginary components, respectively.
Examples
--------
> var z = new {{alias:@stdlib/complex/float32}}( 5.0, 3.0 );
> var out = {{alias}}( z )
<Float32Array>[ 5.0, 3.0 ]
See Also
--------