Trait ToLinSpace

Source
pub trait ToLinSpace {
    type Item;

    // Required method
    fn into_lin_space(self, step: usize) -> IntoLinSpace<Self::Item>;
}
Expand description

A helper trait for lin_space

Required Associated Types§

Source

type Item

The item that this is a linear space over

Required Methods§

Source

fn into_lin_space(self, step: usize) -> IntoLinSpace<Self::Item>

Create the lin space

Implementations on Foreign Types§

Source§

impl<T: Num + FromPrimitive + Copy> ToLinSpace for Range<T>

Source§

type Item = T

Source§

fn into_lin_space(self, steps: usize) -> IntoLinSpace<Self::Item>

Source§

impl<T: Num + FromPrimitive + Copy> ToLinSpace for RangeInclusive<T>

Source§

type Item = T

Source§

fn into_lin_space(self, steps: usize) -> IntoLinSpace<Self::Item>

Implementors§