The matrix in triplet form (array of arrays), where each sub-array contains three elements: row index, column index, and value.
The order of the matrix (number of rows/columns).
Optional
permutationEncoded: NumberArrayOptional permutation array. If provided, it will be used to permute the matrix.
A function that takes a right-hand side vector b
and returns the solution vector x
, or null
if the decomposition fails.
Solves a system of linear equations using the Cholesky decomposition method. It is a direct conversion to TS from https://github.com/scijs/cholesky-solve