Function tool::core::matrix::size_range_with_step[][src]

pub fn size_range_with_step<T>(start: T, end: T, step: T) -> usize where
    T: Scalar + NumCast + Copy + ClosedAdd + ClosedSub + ClosedDiv + ClosedMul + PartialOrd
Expand description

Compute the required size to go from start to end with step, including the end point (last time step can be smaller).