repl.txt (469B)
1 2 {{alias}}( z ) 3 Returns the real and imaginary components of a complex number. 4 5 Parameters 6 ---------- 7 z: Complex 8 Complex number. 9 10 Returns 11 ------- 12 out: Float64Array|Float32Array 13 Array containing the real and imaginary components, respectively. 14 15 Examples 16 -------- 17 > var z = new {{alias:@stdlib/complex/float64}}( 5.0, 3.0 ); 18 > var out = {{alias}}( z ) 19 <Float64Array>[ 5.0, 3.0 ] 20 21 See Also 22 -------- 23