pub struct IvpSolution {
pub t: Vec<f64>,
pub y: Vec<Vec<f64>>,
pub status: IvpStatus,
pub t_events: Vec<Vec<f64>>,
pub y_events: Vec<Vec<Vec<f64>>>,
pub dense: DenseOutput,
pub nfev: usize,
pub njev: usize,
pub nlu: usize,
pub rejected_steps: usize,
pub switches: Vec<(f64, bool)>,
}Expand description
The result of solve_ivp.
Fields§
§t: Vec<f64>The times of the accepted steps (and of a terminal event).
y: Vec<Vec<f64>>§status: IvpStatus§t_events: Vec<Vec<f64>>For each event function, the times at which it occurred and the states there.
y_events: Vec<Vec<Vec<f64>>>§dense: DenseOutput§nfev: usize§njev: usize§nlu: usize§rejected_steps: usize§switches: Vec<(f64, bool)>For LSODA, the times at which the method switched and whether it switched to BDF (true)
or back to Adams (false).
Trait Implementations§
Source§impl Clone for IvpSolution
impl Clone for IvpSolution
Auto Trait Implementations§
impl Freeze for IvpSolution
impl RefUnwindSafe for IvpSolution
impl Send for IvpSolution
impl Sync for IvpSolution
impl Unpin for IvpSolution
impl UnsafeUnpin for IvpSolution
impl UnwindSafe for IvpSolution
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