Struct sprs_ldl::LdlNumeric [] [src]

pub struct LdlNumeric<N> { /* fields omitted */ }

Structure to hold a numeric LDLT decomposition

Methods

impl<N> LdlNumeric<N>
[src]

Compute the numeric LDLT decomposition of the given matrix.

Panics

  • if mat is not symmetric

Compute the numeric decomposition L D LT = PT A P 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

Update the decomposition with the given matrix. The matrix must have the same non-zero pattern as the original matrix, otherwise the result is unspecified.

Solve the system A x = rhs

The size of the linear system associated with this decomposition

The number of non-zero entries in L

Trait Implementations

impl<N: Debug> Debug for LdlNumeric<N>
[src]

Formats the value using the given formatter.