Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

Export assignment erfcinv

  • erfcinv(x: number): number
  • Evaluates the inverse complementary error function.

    Notes

    • The domain of x is restricted to [0,2]. If x is outside this interval, the function returns NaN.

    Parameters

    • x: number

      input value

    Returns number

    function value

    Example

    var y = erfcinv( 0.5 );
    // returns ~0.4769

    Example

    var y = erfcinv( 0.8 );
    // returns ~0.1791

    Example

    var y = erfcinv( 0.0 );
    // returns Infinity

    Example

    var y = erfcinv( 2.0 );
    // returns -Infinity

    Example

    var y = erfcinv( NaN );
    // returns NaN