Implementations
sourceimpl<X: AsF64, Y: AsF64, F: Fn(X) -> Y> Function<X, Y, F>
impl<X: AsF64, Y: AsF64, F: Fn(X) -> Y> Function<X, Y, F>
pub fn new(f: F) -> Function<X, Y, F>
pub fn at(&self, x: f64) -> f64
pub fn pt(&self, x: f64) -> (f64, f64)
pub fn rng(&self, x_i: u32, x_f: u32) -> Vec<f64>
pub fn rng_x(&self, x_i: u32, x_f: u32) -> Vec<(u32, f64)>
pub fn rng_x_scale(
&self,
x_i: u32,
x_f: u32,
scales: &Scales
) -> Vec<(f64, f64)>
Trait Implementations
Auto Trait Implementations
impl<X, Y, F> RefUnwindSafe for Function<X, Y, F> where
F: RefUnwindSafe,
X: RefUnwindSafe,
Y: RefUnwindSafe,
impl<X, Y, F> Send for Function<X, Y, F> where
F: Send,
X: Send,
Y: Send,
impl<X, Y, F> Sync for Function<X, Y, F> where
F: Sync,
X: Sync,
Y: Sync,
impl<X, Y, F> Unpin for Function<X, Y, F> where
F: Unpin,
X: Unpin,
Y: Unpin,
impl<X, Y, F> UnwindSafe for Function<X, Y, F> where
F: UnwindSafe,
X: UnwindSafe,
Y: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more