UMFControl¶
- class sksparse.umfpack.UMFControl[source]¶
The class used to manage UMFPACK control parameters.
- print_level[source]¶
The verbosity level. Values vary depending on the function called, but typically “0” means no printing, and higher values mean more verbose printing. Default value is 1.
- Type:
- dense_row, dense_col
A row or column is considered to be dense if it has more than
max(16, dense_[row|col] * 16 * sqrt(n_[row|col])entries. Default 0.2.- Type:
- blas3_block_size[source]¶
The block size to use in Level-3 BLAS operations. Default value is 32.
- Type:
- strategy[source]¶
The strategy to use in the factorization. Default value is
auto. Possible values are:auto: choose the strategy automaticallyunsymmetric: order the columns of \(A\) with COLAMDsymmetric: Order the matrix \(A + A^{\top}\) with AMD
- Type:
- ordering_method[source]¶
The ordering method to use. Default value is
amd. Possible values are:cholmod: use AMD/COLAMD, then METISamd: just use AMD or COLAMDgiven: use the user-provided orderingnone: no orderingmetis: use METIS on \(A + A^{\top}\) or \(A^{\top} A\)best: try AMD/COLAMD, METIS and NESDISuser: use the user-provided function to compute the orderingmetis_guard: use METIS for symmetric strategy, try METIS for unsymmetric and fall back to COLAMD if \(A\) has many dense rows.
- Type:
- fixQ[source]¶
Default 0. Possible values:
-1: possibly modify \(Q\) during numeric factorization.
0: automatic. Modify \(Q\) only if strategy is unsymmetric.
1: do not modify \(Q\) during numeric factorization.
- Type:
- amd_dense[source]¶
Rows/columns in \(A + A^{\top}\) with more than
max(16, amd_dense * sqrt(n))entries (wheren = n_row = n_col) are ignored in the AMD pre-ordering. Default 10.- Type:
- pivot_tol[source]¶
The relative pivot tolerance for partial pivoting with row interchanges. The absolute value of the entry must be >=
pivot_tol *largest absolute value in that column.pivot_tol=1.0gives true partial pivoting. Ifpivot_tol <= 0.0, then any non-zero entry is acceptable as a pivot. Default value is 0.1.- Type:
- row_scale[source]¶
The row scaling to use. Default value is
'sum'. Possible values are:None or
'none': no row scaling'sum': divide each row bysum(abs(A[i,:]))'max': divide each row bymax(abs(A[i,:]))
- Type:
str or None
- alloc_init[source]¶
Estimated space for the memory to allocate for numeric factorization. Default 0.7.
- Type:
- front_alloc_init[source]¶
Estimated space for the memory to allocate for frontal matrices. Default 0.5.
- Type:
- droptol[source]¶
Drop tolerance for small entries in \(L\) and \(U\). Default value is 0.0 (no dropping).
- Type:
- nnzdiag_thresh[source]¶
Threshold for choosing unsymmetric strategy based on the number of diagonal entries. Default 0.9.
- Type:
Added in version 0.5.0.
Methods