pub fn range_step(start: f32, end: f32, step: f32) -> Vec<f32> {
    // TODO: assert non-negative, step is a factor of end or something like that

    let mut result: Vec<f32> = Vec::new();
    let mut count = start;
    while count < end {
        result.push(count);
        count += step;
    }

    result
}
/// Returns a Vector of values corresponding to [start : end : step]
Returns a Vector of values corresponding to [start : end : step]
Returns a Vector of values corresponding to [ start : end : step ]
pub fn range_step(start: f32, end: f32, step: f32) -> Vec<f32> {
    // TODO: assert non-negative, step is a factor of end or something like that
    let mut result: Vec<f32> = Vec::new();
    let mut count = start;
    while count < end {
        result.push(count);
        count += step;
    }
    result
}
pub fn range_step ( start : f32 , end : f32 , step : f32 ) -> Vec < f32 > { // TODO: assert non-negative, step is a factor of end or something like that let mut result : Vec < f32 > = Vec :: new ( ) ; let mut count = start ; while count < end { result . push ( count ) ; count += step ; } result }
Returns a Vector of values corresponding to [start : end : step]
Returns a Vector of values corresponding to [ start : end : step ]
start
f32
end
f32
step
f32
start
f32
end
f32
step
f32