pub trait Img<D> {
// Required method
fn into_point(self, t: f64) -> Point<D>;
}Expand description
Suitable images of functions that can be used to generate samplings.
See e.g. Sampling::uniform and Sampling::fun.
Required Methods§
Sourcefn into_point(self, t: f64) -> Point<D>
fn into_point(self, t: f64) -> Point<D>
Transform a map f64 → self into the internal value Point.
It will only be used with finite t.
Implementations on Foreign Types§
Source§impl<D> Img<D> for (f64, Data<D>)
Values (y, Data(d)) are acceptable images (see Sampling::fun).
impl<D> Img<D> for (f64, Data<D>)
Values (y, Data(d)) are acceptable images (see Sampling::fun).
fn into_point(self, t: f64) -> Point<D>
Source§impl<D> Img<D> for ([f64; 2], Data<D>)
Values ([x,y], Data(d)) are acceptable images (see Sampling::fun).
impl<D> Img<D> for ([f64; 2], Data<D>)
Values ([x,y], Data(d)) are acceptable images (see Sampling::fun).