Cotangent

Base.Math.cotFunction
cot(x)

Compute the cotangent of x, where x is in radians.

source
cot(A::AbstractMatrix)

Compute the matrix cotangent of a square matrix A.

Base.Math.cothFunction
coth(x)

Compute the hyperbolic cotangent of x.

source
coth(A::AbstractMatrix)

Compute the matrix hyperbolic cotangent of square matrix A.

Base.Math.acotFunction
acot(x)

Compute the inverse cotangent of x, where the output is in radians.

source
acot(A::AbstractMatrix)

Compute the inverse matrix cotangent of A.

Base.Math.acotdFunction
acotd(x)

Compute the inverse cotangent of x, where the output is in degrees. If x is a matrix, x needs to be a square matrix.

Julia 1.7

Matrix arguments require Julia 1.7 or later.

source
Base.Math.acothFunction
acoth(x)

Compute the inverse hyperbolic cotangent of x.

source
acoth(A::AbstractMatrix)

Compute the inverse matrix hyperbolic cotangent of A.