__init__¶
- KLUFactor.__init__()[source]¶
Compute the KLU factorization of a sparse matrix.
- Parameters:
A ((N, N) numpy.ndarray or sparse array) – The input matrix. Any object that can be converted to a
csc_arrayis accepted.control (
KLUControl, optional) – An optionalKLUControlobject to set the factorization parameters. If not provided, default parameters are used.