pub struct BvpSolution {
pub x: Vec<f64>,
pub y: Vec<Vec<f64>>,
pub derivative: Vec<Vec<f64>>,
pub converged: bool,
pub max_residual: f64,
}Expand description
A solution on a mesh, with derivatives for cubic Hermite interpolation.
Fields§
§x: Vec<f64>The mesh (collocation) or the accepted integration steps (shooting).
y: Vec<Vec<f64>>The state at each point of x.
derivative: Vec<Vec<f64>>f(x_i, y_i) at each mesh point.
converged: boolWhether the tolerance was met.
max_residual: f64The largest relative defect (collocation) or boundary residual (shooting).
Implementations§
Trait Implementations§
Source§impl Clone for BvpSolution
impl Clone for BvpSolution
Auto Trait Implementations§
impl Freeze for BvpSolution
impl RefUnwindSafe for BvpSolution
impl Send for BvpSolution
impl Sync for BvpSolution
impl Unpin for BvpSolution
impl UnsafeUnpin for BvpSolution
impl UnwindSafe for BvpSolution
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