acosh_vec

Function acosh_vec 

Source
pub fn acosh_vec(x: &[f64]) -> Vec<f64>
Expand description

§acosh_vec(x)

Inverse Hyperbolic Function

The acosh_vec function calculates the inverse hyperbolic cosine value of each element in the input vector, represented as a radian. The result is a new vector containing the arccosh values, which are the angles that correspond to the input values.

§Examples

use mathlab::math::acosh_vec;
assert_eq!(acosh_vec(&[1.0, 1.140238321076429, 11.591953275521519]), [0.0, 0.523598775598299, 3.141592653589793]);

End Fun Doc