linbox
|
Solver traits. More...
#include <methods.h>
Inherits Specifier.
Public Types | |
typedef InheritEnum< BlackboxShape, Preconditioner > | Shape |
Shape of a Blackbox Precontioner shapes and other blackbox shape are combined. | |
Public Member Functions | |
SolverTraits (bool CheckResult=true) | |
Constructor. More... | |
SolverTraits (const Specifier &S) | |
Constructor from a MethodTraits structure. More... | |
Preconditioner | preconditioner () const |
Accessors. More... | |
void | preconditioner (Preconditioner p) |
Manipulators. More... | |
Solver traits.
User-specified parameters for solving a linear system.
|
inherited |
Which preconditioner to use to ensure generic rank profile.
NO_PRECONDITIONER - Do not use any preconditioner BUTTERFLY - Use a butterfly network, see Butterfly SPARSE - Use a sparse preconditioner, c.f. (Mulders 2000) TOEPLITZ - Use a Toeplitz preconditioner, c.f. (Kaltofen and Saunders 1991) SYMMETRIZE - Use A^T A (Lanczos only) PARTIAL_DIAGONAL - Use AD, where D is a random nonsingular diagonal matrix (Lanczos only) PARTIAL_DIAGONAL_SYMMETRIZE - Use A^T D A, where D is a random nonsingular diagonal matrix (Lanczos only) FULL_DIAGONAL - Use D_1 A^T D_2 A D_1, where D_1 and D_2 are random nonsingular diagonal matrices (Lanczos only) DENSE (Dixon use)
|
inherited |
|
inline |
Constructor.
CheckResult | True if and only if the solution should be checked for correctness after it is computed (very much recommended for the randomized algorithms Wiedemann and Lanczos); default is true |
|
inline |
Constructor from a MethodTraits structure.
S | MethodTraits structure from which to get defaults |
|
inlineinherited |
Accessors.
These functions just return the corresponding parameters from the structure
|
inlineinherited |
Manipulators.
These functions allow on-the-fly modification of a SolverTraits structure. Note that it is guaranteed that your SolverTraits structure will not be modified during solve.