input value
input value
var Complex128 = require( `@stdlib/complex/float64` );
var real = require( `@stdlib/complex/real` );
var imag = require( `@stdlib/complex/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.