Function math_fun::range_to_vec

source ·
pub fn range_to_vec(start: f64, stop: f64, step: f64) -> Vec<f64>
Expand description

Accept the three arguments indicating a range, and return a vector of that range. It currently panics if wrong arguments are entered. In the future the return type may be changed to Results to deal with errors graciously.