Function cosh_vec

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

§cosh_vec(x)

Hyperbolic Function

The cosh_vec function calculates the hyperbolic cosine value of each angle represented as a radian in the input iterator, constructing a new vector from these results.

§Examples

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

End Fun Doc