pub struct JacobianRow { /* private fields */ }Expand description
One Jacobian row: derivatives of one element with respect to each state component.
Built by naming components; unnamed entries are zero.
Implementations§
Source§impl JacobianRow
impl JacobianRow
Sourcepub fn with(self, component: StateComponent, derivative: f64) -> Self
pub fn with(self, component: StateComponent, derivative: f64) -> Self
Sets the derivative with respect to one component.
Sourcepub fn derivative(&self, component: StateComponent) -> f64
pub fn derivative(&self, component: StateComponent) -> f64
Derivative with respect to a component.
Trait Implementations§
Source§impl Clone for JacobianRow
impl Clone for JacobianRow
impl Copy for JacobianRow
Source§impl Debug for JacobianRow
impl Debug for JacobianRow
Source§impl Default for JacobianRow
impl Default for JacobianRow
Source§impl PartialEq for JacobianRow
impl PartialEq for JacobianRow
impl StructuralPartialEq for JacobianRow
Auto Trait Implementations§
impl Freeze for JacobianRow
impl RefUnwindSafe for JacobianRow
impl Send for JacobianRow
impl Sync for JacobianRow
impl Unpin for JacobianRow
impl UnsafeUnpin for JacobianRow
impl UnwindSafe for JacobianRow
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