Mathematical functions#

Trigonometric functions#

sin

Trigonometric sine, element-wise.

cos

Trigonometric cosine, element-wise.

tan

Compute tangent element-wise.

arcsin

Trigonometric inverse sine, element-wise.

arccos

Trigonometric inverse cosine, element-wise.

arctan

Trigonometric inverse tangent, element-wise.

arctan2

Element-wise arc tangent of \(\frac{iarr_1}{iarr_2}\) choosing the quadrant correctly.

Hyperbolic functions#

sinh

Hyperbolic sine, element-wise.

cosh

Hyperbolic cosine, element-wise.

tanh

Compute hyperbolic tangent element-wise.

Rounding#

floor

Return the floor of the input, element-wise.

ceil

Return the ceiling of the input, element-wise.

Exponents and logarithms#

exp

Calculate the exponential of all elements in the input array.

log

Natural logarithm, element-wise.

log10

Return the base 10 logarithm of the input array, element-wise.

Miscellaneous#

sqrt

Return the non-negative square-root of an array, element-wise.

power

First array elements raised to powers from second array, element-wise.

abs

Absolute value, element-wise.

negative

Numerical negative, element-wise.