repl.txt (634B)
1 2 {{alias}}( [out,] re, im ) 3 Computes the inverse of a complex number. 4 5 Parameters 6 ---------- 7 out: Array|TypedArray|Object (optional) 8 Output array. 9 10 re: number 11 Real component. 12 13 im: number 14 Imaginary component. 15 16 Returns 17 ------- 18 out: Array|TypedArray|Object 19 Real and imaginary components. 20 21 Examples 22 -------- 23 > var y = {{alias}}( 2.0, 4.0 ) 24 [ 0.1, -0.2 ] 25 26 > var out = new {{alias:@stdlib/array/float64}}( 2 ); 27 > var v = {{alias}}( out, 2.0, 4.0 ) 28 <Float64Array>[ 0.1, -0.2 ] 29 > var bool = ( v === out ) 30 true 31 32 See Also 33 -------- 34