Function csc_vec

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

§csc_vec(x)

Trigonometric Function

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

§Examples

use mathlab::math::{csc_vec, INF_F64 as inf};
assert_eq!(csc_vec(&[0.0, 1e-10, 0.5235987756]), [inf, 10000000000.0, 2.0]);

End Fun Doc