pub fn arccos(arg: &Expression) -> ExpressionExpand description
Evaluate arccosine function
§Mathematical Definition
arccos(x) = cos⁻¹(x), domain: [-1, 1], range: [0, π]
§Arguments
arg- Expression to compute arccosine of
§Returns
Arccosine expression
§Examples
use mathhook_core::functions::elementary::trigonometric::arccos;
use mathhook_core::expr;
let result = arccos(&expr!(1));
assert_eq!(result, expr!(0));