acoth_vec

Function acoth_vec 

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

§acoth_vec(x)

Inverse Hyperbolic Function

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

§Examples

use mathlab::math::{acoth_vec, INF_F64 as inf};
assert_eq!(acoth_vec(&[inf, 2.081283363933637, 1.003741873197321]), [0.0, 0.523598775598299, 3.141592653589813]);

End Fun Doc