Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

Export assignment acot

  • acot(x: number): number
  • Computes the inverse cotangent of a number.

    Parameters

    • x: number

      input value

    Returns number

    inverse cotangent (in radians)

    Example

    var v = acot( 2.0 );
    // returns ~0.4636

    Example

    var v = acot( 0.0 );
    // returns ~1.5708

    Example

    var v = acot( 0.5 );
    // returns ~1.1071

    Example

    var v = acot( 1.0 );
    // returns ~0.7854

    Example

    var v = acot( NaN );
    // returns NaN

    Example

    var v = acot( Infinity );
    // returns 0.0