factorize¶
- SPQRFactor.factorize(A, *, tol=None)[source]¶
Compute the numeric factorization of the matrix.
- Parameters:
A ((M, N) array_like or sparse array, optional) – An array convertible to a sparse matrix. If None, the numeric factorization is computed for the matrix used in the constructor. If
Ais provided, it must have the same sparsity pattern as the matrix used in the constructor.tol (float, optional) – If the 2-norm of a column in
Ais less thantol, that column is considered to be a zero column. Iftol = 0, no columns are treated as zero. IfNone, the default tolerance is used. The default istol =\(20 \epsilon (M + N) \sqrt{\max{\mathrm{diag}(A^{\top} A)}}\), where \(\epsilon\) is the machine precision.
- Returns:
SPQRFactor– The current object with the numeric factorization computed.