extendr_api::prelude::sparse::linalg::cholesky::simplicial

Function factorize_simplicial_numeric_ldlt

pub fn factorize_simplicial_numeric_ldlt<I, E>(
    L_values: <<E as Entity>::Group as ForType>::FaerOf<&mut [<E as Entity>::Unit]>,
    A: SparseColMatRef<'_, I, E>,
    regularization: LdltRegularization<'_, E>,
    symbolic: &SymbolicSimplicialCholesky<I>,
    stack: PodStack<'_>,
) -> usize
where I: Index, E: ComplexField,
Expand description

Computes the numeric values of the Cholesky LDLT factors of the matrix A, and stores them in L_values.

§Note

Only the upper triangular part of A is accessed.

§Panics

The symbolic structure must be computed by calling factorize_simplicial_symbolic on a matrix with the same symbolic structure. Otherwise, the behavior is unspecified and panics may occur.