Enum Class MatrixSolver.Strategy
java.lang.Object
java.lang.Enum<MatrixSolver.Strategy>
org.episteme.core.mathematics.linearalgebra.matrices.solvers.MatrixSolver.Strategy
- All Implemented Interfaces:
Serializable, Comparable<MatrixSolver.Strategy>, Constable
- Enclosing class:
MatrixSolver
Solver strategy/algorithm.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAutomatic selection based on matrix analysis.BiCGSTAB - large sparse non-symmetric.Cholesky decomposition - symmetric positive definite.Conjugate Gradient - large sparse SPD matrices.GMRES - large sparse non-symmetric.LU decomposition - general square matrices.QR decomposition - overdetermined systems.SVD - robust for ill-conditioned/rank-deficient. -
Method Summary
Modifier and TypeMethodDescriptionstatic MatrixSolver.StrategyReturns the enum constant of this class with the specified name.static MatrixSolver.Strategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Automatic selection based on matrix analysis. -
LU
LU decomposition - general square matrices. -
CHOLESKY
Cholesky decomposition - symmetric positive definite. -
QR
QR decomposition - overdetermined systems. -
SVD
SVD - robust for ill-conditioned/rank-deficient. -
CONJUGATE_GRADIENT
Conjugate Gradient - large sparse SPD matrices. -
BICGSTAB
BiCGSTAB - large sparse non-symmetric. -
GMRES
GMRES - large sparse non-symmetric.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-