input value
input value
var Complex128 = require( '@stdlib/complex/float64/ctor' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );
var v = cidentity( new Complex128( -1.0, 2.0 ) );
// returns <Complex128>
var re = real( v );
// returns -1.0
var im = imag( v );
// returns 2.0
Evaluates the identity function for double-precision complex floating-point number.