Math (dw::util::Math)
A utility module that provides mathematical functions.
To use this module, you must import it to your DataWeave code, for example,
by adding the line import * from dw::util::Math
to the header of your
DataWeave script.
Introduced in DataWeave version 2.4.0.
Functions
Name | Description |
---|---|
Returns an arc cosine value that can range from |
|
Returns an arc sine value that can range from |
|
Returns an arc tangent value that can range from |
|
Returns the trigonometric cosine of an angle from a given number of radians. |
|
Returns the logarithm base 10 of a number. |
|
Returns the natural logarithm (base |
|
Returns the trigonometric sine of an angle from a given number of radians. |
|
Returns the trigonometric tangent of an angle from a given number of radians. |
|
Converts an angle measured in radians to an approximately equivalent number of degrees. |
|
Converts a given number of degrees in an angle to an approximately equivalent number of radians. |