acos method

Dimension acos (
  1. Node n
)

Calculates arccosine (inverse of cosine) function. Returns number in radians e.g. a number between 0 and π. Parameters: number - a floating point number from -1, 1 interval. Returns: number Example: acos(0.5403023058681398) Output: 1rad

Implementation

//
/// Parameters:
///   number - a floating point number from [-1, 1] interval.
///   Returns: number
/// Example:
///   acos(0.5403023058681398)
///   Output: 1rad
///
Dimension acos(Node n) => MathHelper._math(math.acos, 'rad', n);