DirectSolverFactorizationPreferences#

class nvmath.sparse.advanced.DirectSolverFactorizationPreferences(
*,
factorization_algorithm: AlgType | None = None,
pivot_eps_algorithm: AlgType | None = None,
pivot_eps: float | None = None,
)[source]#

A data class for providing factorization preferences to the direct_solver() function.

factorization_algorithm#

The factorization algorithm to use.

Type:

nvmath.bindings.cudss.AlgType | None

pivot_eps_algorithm#

The pivot epsilon algorithm to use.

Type:

nvmath.bindings.cudss.AlgType | None

pivot_eps#

The pivot epsilon to use.

Type:

float | None