[−][src]Struct sprs_ldl::LdlSymbolic
Structure to compute and hold a symbolic LDLT decomposition
Implementations
impl<I: SpIndex> LdlSymbolic<I>
[src]
pub fn new<N>(mat: CsMatViewI<N, I>) -> LdlSymbolic<I> where
N: Copy + PartialEq,
[src]
N: Copy + PartialEq,
pub fn new_perm<N>(
mat: CsMatViewI<N, I>,
perm: PermOwnedI<I>,
check_symmetry: SymmetryCheck
) -> LdlSymbolic<I> where
N: Copy + PartialEq,
I: SpIndex,
[src]
mat: CsMatViewI<N, I>,
perm: PermOwnedI<I>,
check_symmetry: SymmetryCheck
) -> LdlSymbolic<I> where
N: Copy + PartialEq,
I: SpIndex,
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>, SprsError> where
N: Copy + Num + PartialOrd,
[src]
self,
mat: CsMatViewI<N, I>
) -> Result<LdlNumeric<N, I>, SprsError> where
N: Copy + Num + PartialOrd,
Compute the numerical decomposition of the given matrix.
Trait Implementations
impl<I: Clone> Clone for LdlSymbolic<I>
[src]
fn clone(&self) -> LdlSymbolic<I>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<I: Debug> Debug for LdlSymbolic<I>
[src]
Auto Trait Implementations
impl<I> RefUnwindSafe for LdlSymbolic<I> where
I: RefUnwindSafe,
I: RefUnwindSafe,
impl<I> Send for LdlSymbolic<I> where
I: Send,
I: Send,
impl<I> Sync for LdlSymbolic<I> where
I: Sync,
I: Sync,
impl<I> Unpin for LdlSymbolic<I> where
I: Unpin,
I: Unpin,
impl<I> UnwindSafe for LdlSymbolic<I> where
I: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,