Struct sprs_ldl::LdlSymbolic[][src]

pub struct LdlSymbolic<I> { /* fields omitted */ }

Structure to compute and hold a symbolic LDLT decomposition

Implementations

impl<I: SpIndex> LdlSymbolic<I>[src]

pub fn new<N>(mat: CsMatViewI<'_, N, I>) -> Self where
    N: Copy + PartialEq
[src]

Compute the symbolic LDLT of the given matrix

Panics

  • if mat is not symmetric

pub fn new_perm<N>(
    mat: CsMatViewI<'_, N, I>,
    perm: PermOwnedI<I>,
    check_symmetry: SymmetryCheck
) -> Self where
    N: Copy + PartialEq,
    I: SpIndex
[src]

Compute the symbolic decomposition L D L^T = P A P^T where P is a permutation matrix.

Using a good permutation matrix can reduce the non-zero count in L, thus making the decomposition and the solves faster.

Panics

  • if mat is not symmetric

pub fn problem_size(&self) -> usize[src]

The size of the linear system associated with this decomposition

pub fn nnz(&self) -> usize[src]

The number of non-zero entries in L

pub fn factor<N>(
    self,
    mat: CsMatViewI<'_, N, I>
) -> Result<LdlNumeric<N, I>, LinalgError> where
    N: Copy + Num + PartialOrd
[src]

Compute the numerical decomposition of the given matrix.

Trait Implementations

impl<I: Clone> Clone for LdlSymbolic<I>[src]

impl<I: Debug> Debug for LdlSymbolic<I>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for LdlSymbolic<I> where
    I: RefUnwindSafe

impl<I> Send for LdlSymbolic<I> where
    I: Send

impl<I> Sync for LdlSymbolic<I> where
    I: Sync

impl<I> Unpin for LdlSymbolic<I> where
    I: Unpin

impl<I> UnwindSafe for LdlSymbolic<I> where
    I: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.