Function sech_deg_vec

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

§sech_deg_vec(x)

Hyperbolic Function

The sech_deg_vec function calculates the hyperbolic secant value of each angle represented as a degree in the input iterator, constructing a new vector from these results.

§Examples

use mathlab::math::sech_deg_vec;
assert_eq!(sech_deg_vec(&[0.0, 30.0, 180.0]), [1.0, 0.877009640454779, 0.086266738334054]);

End Fun Doc