pub fn sin_deg_vec(x: &[f64]) -> Vec<f64>
Expand description
§sin_deg_vec(x)
Trigonometric Function
The sin_deg_vec
function calculates the sine value of each angle represented in degrees in the input iterator,
constructing a new vector from these results.
§Examples
use mathlab::math::sin_deg_vec;
assert_eq!(sin_deg_vec(&[0.0, 30.0, 45.0, 60.0, 90.0]), [0.0, 0.5, 0.7071067812, 0.8660254038, 1.0]);
End Fun Doc