input value
input value
var Complex64 = require( `@stdlib/complex/float32` );
var real = require( `@stdlib/complex/real` );
var imag = require( `@stdlib/complex/imag` );
var v = cidentityf( new Complex64( -1.0, 2.0 ) );
// returns <Complex64>
var re = real( v );
// returns -1.0
var im = imag( v );
// returns 2.0
Evaluates the identity function for single-precision complex floating-point number.