__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_array is accepted.

  • control (KLUControl, optional) – An optional KLUControl object to set the factorization parameters. If not provided, default parameters are used.