public enum SparseSolverId extends java.lang.Enum<SparseSolverId>
Enum Constant and Description |
---|
ConjugateGradient
Conjugate gradient
|
Pardiso
Intel MKL implementation of Pardiso, originally developed by Olaf Schenk
p
|
Umfpack
Umfpack, from SuiteSparse, developed by Tim Davis et al.
|
Modifier and Type | Method and Description |
---|---|
DirectSolver |
createDirectSolver()
Creates and returns the solver for this type, if it represents a direct
solver.
|
IterativeSolver |
createIterativeSolver()
Creates and returns the solver for this type, if it represents an
iterative solver.
|
int |
getMatrixType() |
boolean |
isCompatible(int matrixType)
Queries if this solver type is compatible with the indicated matrix type.
|
boolean |
isDirect()
Queries whether the solver is direct.
|
static SparseSolverId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SparseSolverId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SparseSolverId Pardiso
public static final SparseSolverId Umfpack
public static final SparseSolverId ConjugateGradient
public static SparseSolverId[] values()
for (SparseSolverId c : SparseSolverId.values()) System.out.println(c);
public static SparseSolverId valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isDirect()
true
if the solver is directpublic int getMatrixType()
public boolean isCompatible(int matrixType)
matrixType
- matrix type to checktrue
if the matrix type is compatiblepublic DirectSolver createDirectSolver()
null
.null
public IterativeSolver createIterativeSolver()
null
.null