Struct rootfind::wrap::RealFnAndFirst
[−]
[src]
pub struct RealFnAndFirst<'a, F1: ?Sized, F2: ?Sized> where
F1: 'a + Fn(f64) -> f64,
F2: 'a + Fn(f64) -> f64, { pub f: &'a F1, pub df: &'a F2, }
Wraps functions to implement RealFnEval and RealDfEval.
Fields
f: &'a F1
df: &'a F2
Methods
impl<'a, F1: ?Sized, F2: ?Sized> RealFnAndFirst<'a, F1, F2> where
F1: 'a + Fn(f64) -> f64,
F2: 'a + Fn(f64) -> f64,
[src]
F1: 'a + Fn(f64) -> f64,
F2: 'a + Fn(f64) -> f64,
fn new(f: &'a F1, df: &'a F2) -> RealFnAndFirst<'a, F1, F2>
[src]
Trait Implementations
impl<'a, F1: ?Sized, F2: ?Sized> RealFnEval for RealFnAndFirst<'a, F1, F2> where
F1: 'a + Fn(f64) -> f64,
F2: 'a + Fn(f64) -> f64,
[src]
F1: 'a + Fn(f64) -> f64,
F2: 'a + Fn(f64) -> f64,
impl<'a, F1: ?Sized, F2: ?Sized> RealDfEval for RealFnAndFirst<'a, F1, F2> where
F1: 'a + Fn(f64) -> f64,
F2: 'a + Fn(f64) -> f64,
[src]
F1: 'a + Fn(f64) -> f64,
F2: 'a + Fn(f64) -> f64,