Package org.la4j
Enum LinearAlgebra.SolverFactory
- java.lang.Object
-
- java.lang.Enum<LinearAlgebra.SolverFactory>
-
- org.la4j.LinearAlgebra.SolverFactory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LinearAlgebra.SolverFactory>
- Enclosing class:
- LinearAlgebra
public static enum LinearAlgebra.SolverFactory extends java.lang.Enum<LinearAlgebra.SolverFactory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORWARD_BACK_SUBSTITUTION
GAUSSIAN
JACOBI
LEAST_SQUARES
SEIDEL
SMART
SQUARE_ROOT
SWEEP
-
Constructor Summary
Constructors Modifier Constructor Description private
SolverFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract LinearSystemSolver
create(Matrix matrix)
static LinearAlgebra.SolverFactory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LinearAlgebra.SolverFactory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GAUSSIAN
public static final LinearAlgebra.SolverFactory GAUSSIAN
-
JACOBI
public static final LinearAlgebra.SolverFactory JACOBI
-
SEIDEL
public static final LinearAlgebra.SolverFactory SEIDEL
-
FORWARD_BACK_SUBSTITUTION
public static final LinearAlgebra.SolverFactory FORWARD_BACK_SUBSTITUTION
-
LEAST_SQUARES
public static final LinearAlgebra.SolverFactory LEAST_SQUARES
-
SQUARE_ROOT
public static final LinearAlgebra.SolverFactory SQUARE_ROOT
-
SWEEP
public static final LinearAlgebra.SolverFactory SWEEP
-
SMART
public static final LinearAlgebra.SolverFactory SMART
-
-
Method Detail
-
values
public static LinearAlgebra.SolverFactory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LinearAlgebra.SolverFactory c : LinearAlgebra.SolverFactory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinearAlgebra.SolverFactory valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
create
public abstract LinearSystemSolver create(Matrix matrix)
-
-