pub struct StabilityAnalysis {
pub eigenvalues: Vec<(f64, f64)>,
}Expand description
Stability analysis via eigenvalues (real_part, imag_part).
Fields§
§eigenvalues: Vec<(f64, f64)>Eigenvalues as (real part, imaginary part) pairs
Implementations§
Source§impl StabilityAnalysis
impl StabilityAnalysis
Sourcepub fn new(eigenvalues: Vec<(f64, f64)>) -> Self
pub fn new(eigenvalues: Vec<(f64, f64)>) -> Self
Create from a list of (real, imag) eigenvalue pairs.
Sourcepub fn is_asymptotically_stable(&self) -> bool
pub fn is_asymptotically_stable(&self) -> bool
Asymptotically stable: all eigenvalues have strictly negative real parts.
Sourcepub fn lyapunov_criterion(&self) -> String
pub fn lyapunov_criterion(&self) -> String
Lyapunov criterion: the equilibrium is stable iff all eigenvalues have Re ≤ 0 (with non-strictly: marginal stability). Returns a descriptive string.
Auto Trait Implementations§
impl Freeze for StabilityAnalysis
impl RefUnwindSafe for StabilityAnalysis
impl Send for StabilityAnalysis
impl Sync for StabilityAnalysis
impl Unpin for StabilityAnalysis
impl UnsafeUnpin for StabilityAnalysis
impl UnwindSafe for StabilityAnalysis
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