pub struct SecondVariation {
pub functional: String,
pub is_positive_definite: bool,
}Expand description
Second variation δ²F of a functional, used to classify critical points.
Fields§
§functional: StringName of the functional.
is_positive_definite: boolWhether the second variation operator is positive definite on the function space.
Implementations§
Source§impl SecondVariation
impl SecondVariation
Sourcepub fn new(functional: impl Into<String>, is_positive_definite: bool) -> Self
pub fn new(functional: impl Into<String>, is_positive_definite: bool) -> Self
Create a new SecondVariation (defaults to positive definite).
Sourcepub fn legendre_condition(&self) -> bool
pub fn legendre_condition(&self) -> bool
Legendre necessary condition: L_{ẋẋ} ≥ 0 along the extremal.
Returns true when is_positive_definite holds (sufficient form).
Sourcepub fn jacobi_condition(&self) -> bool
pub fn jacobi_condition(&self) -> bool
Jacobi sufficient condition: no conjugate points on the open interval.
Returns true when the second variation is positive definite.
Trait Implementations§
Source§impl Clone for SecondVariation
impl Clone for SecondVariation
Source§fn clone(&self) -> SecondVariation
fn clone(&self) -> SecondVariation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SecondVariation
impl RefUnwindSafe for SecondVariation
impl Send for SecondVariation
impl Sync for SecondVariation
impl Unpin for SecondVariation
impl UnsafeUnpin for SecondVariation
impl UnwindSafe for SecondVariation
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