pub struct IvpOptions {
pub rtol: f64,
pub atol: f64,
pub first_step: Option<f64>,
pub max_step: f64,
pub max_steps: usize,
}Expand description
Tolerances and limits for solve_ivp. Each step keeps the local error of every component
below atol + rtol · |yᵢ|, measured in the root-mean-square norm as in SciPy.
Fields§
§rtol: f64§atol: f64§first_step: Option<f64>The first step; chosen automatically when None.
max_step: f64The largest step.
max_steps: usizeThe largest number of step attempts.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IvpOptions
impl RefUnwindSafe for IvpOptions
impl Send for IvpOptions
impl Sync for IvpOptions
impl Unpin for IvpOptions
impl UnsafeUnpin for IvpOptions
impl UnwindSafe for IvpOptions
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