Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

Export assignment coth

  • coth(x: number): number
  • Computes the hyperbolic cotangent of a number.

    Parameters

    • x: number

      input value

    Returns number

    hyperbolic cotangent

    Example

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

    Example

    var v = coth( 2.0 );
    // returns ~1.0373

    Example

    var v = coth( -2.0 );
    // returns ~-1.0373

    Example

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