Trigonometric Functions

A list of the available trigonometric functions in omtools. Assume that x is an input vector, matrix, or tensor.

Sine Functions

  • omtools.sin(x):

    Computes the element-wise sine of an array.

  • omtools.arcsin(x):

    Computes the element-wise inverse sine of an array.

  • omtools.sinh(x):

    Computes the element-wise hyperbolic sine of an array.

Cosine Functions

  • omtools.cos(x):

    Computes the element-wise cosine of an array.

  • omtools.arccos(x):

    Computes the element-wise inverse cosine of an array.

  • omtools.cosh(x):

    Computes the element-wise hyperbolic cosine of an array.

Tangent Functions

  • omtools.tan(x):

    Computes the element-wise tangent of an array.

  • omtools.arctan(x):

    Computes the element-wise inverse tangent of an array.

  • omtools.tanh(x):

    Computes the element-wise hyperbolic tangent of an array.

Secant Functions

  • omtools.sec(x):

    Computes the element-wise secant of an array.

  • omtools.sech(x):

    Computes the element-wise hyperblic secant of an array.

Cosecant Functions

  • omtools.cosec(x):

    Computes the element-wise cosecant of an array.

  • omtools.cosech(x):

    Computes the element-wise hyperbolic cosecant of an array.

Cotangent Functions

  • omtools.cotan(x):

    Computes the element-wise cotangent of an array.

  • omtools.cotanh(x):

    Computes the element-wise cotangent of an array.