acoth_deg_vec

Function acoth_deg_vec 

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

§acoth_deg_vec(x)

Inverse Hyperbolic Function

The acoth_deg_vec function calculates the inverse hyperbolic cotangent value of each element in the input vector, represented as a degree. 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_deg_vec, INF_F64 as inf};
assert_eq!(acoth_deg_vec(&[inf, 2.081283363933637, 1.003741873197321]), [0.0, 30.0, 180.0]);

End Fun Doc