Skip to main content

Trigonometric Operations

acos

Description: Takes an input parameter and returns acos.

Example #1
... | eval res=acos(0.5)

acosh

Description: Takes an input parameter and returns acosh.

Example #1
... | eval res=acosh(1.5)

asin

Description: Takes an input parameter and returns asin.

Example #1
... | eval res=asin(0.5)

asinh

Description: Takes an input parameter and returns asinh.

Example #1
... | eval res=asinh(0.5)

atan

Description: Takes an input parameter and returns atan.

Example #1
... | eval res=atan(0.5)

atan2

Description: Takes two input parameters, X and Y, and returns atan2. Calculates the arctangent of Y/X, where the result is in the range [-pi,+pi] radians.

Example #1
... | eval res=atan2(5, 5)

atanh

Description: Takes an input parameter and returns atanh.

Example #1
... | eval res=atanh(0.5)

cos

Description: Takes an input parameter and returns cos.

Example #1
... | eval res=cos(0.5)

cosh

Description: Takes an input parameter and returns cosh.

Example #1
... | eval res=cosh(0.5)

hypot

Description: Takes two input parameters, X and Y, and returns the hypotenuse, calculated with the hypot function.

Example #1
... | eval res=hypot(10, 2)

sin

Description: Takes an input parameter and returns sin.

Example #1
... | eval res=sin(0.5)

sinh

Description: Takes an input parameter and returns sinh.

Example #1
... | eval res=sinh(0.5)

tan

Description: Takes an input parameter and returns tan.

Example #1
... | eval res=tan(0.5)

tanh

Description: Takes an input parameter and returns tanh.

Example #1
... | eval res=tanh(0.5)