output array
real component
imaginary component
real and imaginary components
var Float32Array = require( `@stdlib/array/float32` );
var out = new Float32Array( 2 );
var v = cinv( out, 2.0, 4.0 );
// returns <Float32Array>[ 0.1, -0.2 ]
var bool = ( v === out );
// returns true
Computes the inverse of a complex number.
real component
imaginary component
real and imaginary components
var v = cinv( 2.0, 4.0 );
// returns [ 0.1, -0.2 ]
Computes the inverse of a complex number.