Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "math/base/special/cidentityf/docs/types/index.d"

Index

Functions

Functions

Export assignment cidentityf

  • Evaluates the identity function for single-precision complex floating-point number.

    Parameters

    Returns Complex64

    input value

    Example

    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