UMFFactor¶
- class sksparse.umfpack.UMFFactor[source]¶
The main object used for creating and using an LU factorization.
The constructor computes the symbolic analysis of a sparse matrix \(A\) and determines a fill-reducing ordering such that:
\[L U = P R A Q.\]The numeric factorization is not computed until
factorize()is called.Note
Note that the use of the scale factor
Rdiffers between KLU and UMFPACK:\[\begin{split}L U &= P R_{\mathrm{umf}} A Q \quad &&\text{(UMFPACK)}, \\ L U + F &= R_{\mathrm{klu}} P A Q \quad &&\text{(KLU)}.\end{split}\]They are related by \(R_{\mathrm{klu}} = P R_{\mathrm{umf}} P^{\top}\).
- lnz, unz
Number of nonzeros in \(L\) and \(U\), respectively.
- Type:
- n_row, n_col
Number of rows and columns in the input matrix.
- Type:
- perm_r, perm_c
The row and column permutation arrays, \(P\) and \(Q\).
- Type:
See also
Notes
This object is an interface to the SuiteSparse UMFPACK library [1].
Added in version 0.5.0.
References
Methods
Compute the symbolic analysis. |
|
Return a deep copy of the current UMFFactor object. |
|
Compute the numeric factorization of a sparse matrix. |
|
Print a report of the control structure to stdout. |
|
Print a report of the UMFInfo structure. |
|
Print a report of the numeric factorization. |
|
Print a report of the symbolic factorization. |
|
Return the determinant of the matrix as (sign, logabsdet). |
|
Solve a linear system using the LU factorization. |