Package jdistlib.accelerator
Interface PreparedSparseCholesky
- All Superinterfaces:
AutoCloseable
Symbolically analyzed FP64 sparse Cholesky handle with reusable numeric factors.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intintNumber of entries in the current lower Cholesky factor.doubleint[]Returns the new-to-original permutation, or an empty array when provider-owned.voidReplaces only numerical values; the authoritative-triangle structure must match.default double[]solve(double[] right) default double[]solve(double[] right, int columns) voidsolveInPlace(double[] right, int columns) Replaces a row-major dimension-by-columns right side with its solution.intNumber of unique entries in the authoritative input triangle.
-
Method Details
-
dimension
int dimension() -
structuralNonzeroCount
int structuralNonzeroCount()Number of unique entries in the authoritative input triangle. -
factorNonzeroCount
int factorNonzeroCount()Number of entries in the current lower Cholesky factor. -
permutation
int[] permutation()Returns the new-to-original permutation, or an empty array when provider-owned. -
logDeterminant
double logDeterminant() -
refactor
Replaces only numerical values; the authoritative-triangle structure must match. -
solveInPlace
void solveInPlace(double[] right, int columns) Replaces a row-major dimension-by-columns right side with its solution. -
solve
default double[] solve(double[] right) -
solve
default double[] solve(double[] right, int columns) -
close
void close()- Specified by:
closein interfaceAutoCloseable
-