pub struct State<T: Real> {
pub param: T,
pub value: Vec<T>,
pub deriv: Vec<T>,
}
Expand description
State for ODE
param
: Parameter of ODE (ex) time)value
: Current value of ODEderiv
: Current differential of values
Fields§
§param: T
§value: Vec<T>
§deriv: Vec<T>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for State<T>where
T: RefUnwindSafe,
impl<T> Send for State<T>where
T: Send,
impl<T> Sync for State<T>where
T: Sync,
impl<T> Unpin for State<T>where
T: Unpin,
impl<T> UnwindSafe for State<T>where
T: 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