Package org.ejml.sparse.csc.misc
Class ColumnCounts_DSCC
java.lang.Object
org.ejml.sparse.csc.misc.ColumnCounts_DSCC
Computes the column counts of the upper triangular portion of L as in L*LT=A. Useful in Cholesky
decomposition.
See cs_counts() on page 55
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(DMatrixSparseCSC A, int[] parent, int[] post, int[] counts) Processes and computes column counts of A
-
Constructor Details
-
ColumnCounts_DSCC
public ColumnCounts_DSCC(boolean ata) Configures column count algorithm.- Parameters:
ata
- flag used to indicate if the cholesky factor of A or ATA is to be computed.
-
-
Method Details
-
process
Processes and computes column counts of A- Parameters:
A
- (Input) Upper triangular matrixparent
- (Input) Elimination tree.post
- (Input) Post order permutation of elimination tree. SeeTriangularSolver_DSCC.postorder(int[], int, int[], org.ejml.data.IGrowArray)
counts
- (Output) Storage for column counts.
-