pub trait IntoLinspace: AsRangedCoord {
fn step<S>(
self,
val: S
) -> Linspace<Self::CoordDescType, S, Exact<Self::Value>>
where
S: Clone,
Self::Value: Add<S>,
Self::Value: PartialOrd<Self::Value>,
Self::Value: Clone,
<Self::Value as Add<S>>::Output == Self::Value,
{ ... }
}
Provided methods
Set the step value, make a linspace coordinate from the given range. By default the matching method use the exact match
val
: The step value- *returns: The newly created linspace