pub struct OdeProblem<'a> {
pub dy: &'a Func,
pub var: &'a Symbol,
pub y_var: &'a Symbol,
pub x0: &'a Value,
pub y0: &'a Value,
pub x_end: &'a Value,
}Expand description
A first-order initial-value ODE problem dy/dx = f(x, y) handed to an
OdeSolver.
Fields§
§dy: &'a FuncThe right-hand-side function giving the derivative.
var: &'a SymbolThe independent-variable symbol (typically x).
y_var: &'a SymbolThe dependent-variable symbol (typically y).
x0: &'a ValueThe initial value of the independent variable.
y0: &'a ValueThe initial value of the dependent variable.
x_end: &'a ValueThe end value of the independent variable to integrate toward.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for OdeProblem<'a>
impl<'a> !UnwindSafe for OdeProblem<'a>
impl<'a> Freeze for OdeProblem<'a>
impl<'a> Send for OdeProblem<'a>
impl<'a> Sync for OdeProblem<'a>
impl<'a> Unpin for OdeProblem<'a>
impl<'a> UnsafeUnpin for OdeProblem<'a>
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