public static enum DirectSolver.IterativeMethod extends java.lang.Enum<DirectSolver.IterativeMethod>
DirectSolver.iterativeSolve(double[], double[], double[]), each of
which uses the most recent factorization as a preconditioner.| Enum Constant and Description |
|---|
CGS
Sonneveld's Conjugate Gradients Squared, with right preconditioning.
|
GMRES
Restarted GMRES with right preconditioning.
|
| Modifier and Type | Method and Description |
|---|---|
static DirectSolver.IterativeMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DirectSolver.IterativeMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectSolver.IterativeMethod GMRES
public static final DirectSolver.IterativeMethod CGS
public static DirectSolver.IterativeMethod[] values()
for (DirectSolver.IterativeMethod c : DirectSolver.IterativeMethod.values()) System.out.println(c);
public static DirectSolver.IterativeMethod 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 null