Skip to main content

FaerNumeric

Struct FaerNumeric 

Source
pub struct FaerNumeric<T: Real> { /* private fields */ }
Expand description

The numeric factor of FaerLdl (opaque; invariant (F1)).

Implementations§

Source§

impl<T: Real> FaerNumeric<T>

Source

pub fn inertia(&self) -> Inertia

The inertia of the factor (S6).

Source

pub fn bumped(&self) -> usize

Pivots that dynamic regularization bumped (step K3).

Source

pub fn is_pivoted(&self) -> bool

true if the factor is a Bunch–Kaufman LBLᵀ (2×2 pivots allowed), false for a diagonal LDLᵀ.

Trait Implementations§

Source§

impl<T: Debug + Real> Debug for FaerNumeric<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> !Freeze for FaerNumeric<T>

§

impl<T> Forget for FaerNumeric<T>

§

impl<T> RefUnwindSafe for FaerNumeric<T>
where Vec<T>: RefUnwindSafe, Option<Lblt<T>>: RefUnwindSafe,

§

impl<T> Send for FaerNumeric<T>
where Vec<T>: Send, Option<Lblt<T>>: Send,

§

impl<T> Sync for FaerNumeric<T>
where Vec<T>: Sync, Option<Lblt<T>>: Sync,

§

impl<T> Unpin for FaerNumeric<T>
where Vec<T>: Unpin, Option<Lblt<T>>: Unpin,

§

impl<T> UnsafeUnpin for FaerNumeric<T>
where Vec<T>: UnsafeUnpin, Option<Lblt<T>>: UnsafeUnpin,

§

impl<T> UnwindSafe for FaerNumeric<T>
where Vec<T>: UnwindSafe, Option<Lblt<T>>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ByRef<T> for T

Source§

fn by_ref(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Imply<T> for U
where T: ?Sized, U: ?Sized,

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.