pub struct CscSymbolicCholesky { /* private fields */ }Expand description
A symbolic sparse Cholesky factorization of a CSC matrix.
The symbolic factorization computes the sparsity pattern of L, the Cholesky factor.
Implementations§
Source§impl CscSymbolicCholesky
impl CscSymbolicCholesky
Sourcepub fn factor(pattern: SparsityPattern) -> Self
pub fn factor(pattern: SparsityPattern) -> Self
Compute the symbolic factorization for a sparsity pattern belonging to a CSC matrix.
The sparsity pattern must be symmetric. However, this is not enforced, and it is the responsibility of the user to ensure that this property holds.
§Panics
Panics if the sparsity pattern is not square.
Sourcepub fn l_pattern(&self) -> &SparsityPattern
pub fn l_pattern(&self) -> &SparsityPattern
The pattern of the Cholesky factor L.
Trait Implementations§
Source§impl Clone for CscSymbolicCholesky
impl Clone for CscSymbolicCholesky
Source§fn clone(&self) -> CscSymbolicCholesky
fn clone(&self) -> CscSymbolicCholesky
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CscSymbolicCholesky
impl Debug for CscSymbolicCholesky
Source§impl PartialEq for CscSymbolicCholesky
impl PartialEq for CscSymbolicCholesky
impl Eq for CscSymbolicCholesky
impl StructuralPartialEq for CscSymbolicCholesky
Auto Trait Implementations§
impl Freeze for CscSymbolicCholesky
impl RefUnwindSafe for CscSymbolicCholesky
impl Send for CscSymbolicCholesky
impl Sync for CscSymbolicCholesky
impl Unpin for CscSymbolicCholesky
impl UnwindSafe for CscSymbolicCholesky
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.