pub struct QuadOptions<F: IntegrateFloat> {
pub abs_tol: F,
pub rel_tol: F,
pub max_evals: usize,
pub use_abs_error: bool,
pub use_simpson: bool,
}Expand description
Options for controlling the behavior of the adaptive quadrature algorithm
Fields§
§abs_tol: FAbsolute error tolerance
rel_tol: FRelative error tolerance
max_evals: usizeMaximum number of function evaluations
use_abs_error: boolUse absolute error as the convergence criterion
use_simpson: boolUse Simpson’s rule instead of the default adaptive algorithm
Trait Implementations§
Source§impl<F: Clone + IntegrateFloat> Clone for QuadOptions<F>
impl<F: Clone + IntegrateFloat> Clone for QuadOptions<F>
Source§fn clone(&self) -> QuadOptions<F>
fn clone(&self) -> QuadOptions<F>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<F: Debug + IntegrateFloat> Debug for QuadOptions<F>
impl<F: Debug + IntegrateFloat> Debug for QuadOptions<F>
Source§impl<F: IntegrateFloat> Default for QuadOptions<F>
impl<F: IntegrateFloat> Default for QuadOptions<F>
Auto Trait Implementations§
impl<F> Freeze for QuadOptions<F>where
F: Freeze,
impl<F> RefUnwindSafe for QuadOptions<F>where
F: RefUnwindSafe,
impl<F> Send for QuadOptions<F>where
F: Send,
impl<F> Sync for QuadOptions<F>where
F: Sync,
impl<F> Unpin for QuadOptions<F>where
F: Unpin,
impl<F> UnwindSafe for QuadOptions<F>where
F: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more