pub enum StateSpaceError {
NonInvertibleDescriptorMatrix,
}Variants§
NonInvertibleDescriptorMatrix
The descriptor matrix e is singular — E * dx/dt = A*x + B*u has no unique dx/dt
for a generic (A, x, B, u), so StateSpace::derivative could never solve it.
Checked once here, at construction, rather than on every single step’s own
StateSpace::derivative call (which stays infallible as a result) — the same
validate-once-at-construction convention crate::Vco/crate::Pmsm/
crate::Hysteresis/crate::Pid all use for their own invariants.
Trait Implementations§
Source§impl Clone for StateSpaceError
impl Clone for StateSpaceError
impl Copy for StateSpaceError
Source§impl Debug for StateSpaceError
impl Debug for StateSpaceError
impl Eq for StateSpaceError
Source§impl PartialEq for StateSpaceError
impl PartialEq for StateSpaceError
impl StructuralPartialEq for StateSpaceError
Auto Trait Implementations§
impl Forget for StateSpaceError
impl Freeze for StateSpaceError
impl Move for StateSpaceError
impl RefUnwindSafe for StateSpaceError
impl Send for StateSpaceError
impl Sync for StateSpaceError
impl Unpin for StateSpaceError
impl UnsafeUnpin for StateSpaceError
impl UnwindSafe for StateSpaceError
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