Struct number_diff::Integral
source · pub struct Integral { /* private fields */ }
Expand description
See Integrate documentation for usage and examples
Implementations§
source§impl Integral
impl Integral
pub fn vacant(function: Box<dyn Fn(f64) -> f64 + 'static>) -> Self
pub fn set_lower_bound(&mut self, lower_bound: f64) -> &mut Self
pub fn set_upper_bound(&mut self, upper_bound: f64) -> &mut Self
pub fn set_precision(&mut self, precision: usize) -> &mut Self
pub fn evaluate(&self) -> Result<f64, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for Integral
impl !Send for Integral
impl !Sync for Integral
impl Unpin for Integral
impl !UnwindSafe for Integral
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more