public final class MatrixAlgebraFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMONS
Label for Commons matrix algebra
|
static CommonsMatrixAlgebra |
COMMONS_ALGEBRA
|
static String |
OG
Label for OpenGamma matrix algebra
|
static OGMatrixAlgebra |
OG_ALGEBRA
|
| Modifier and Type | Method and Description |
|---|---|
static MatrixAlgebra |
getMatrixAlgebra(String algebraName)
Given a name, returns an instance of the matrix algebra calculator.
|
static String |
getMatrixAlgebraName(MatrixAlgebra algebra)
Given a matrix algebra calculator, returns its name.
|
public static final String COMMONS
public static final String OG
public static final CommonsMatrixAlgebra COMMONS_ALGEBRA
public static final OGMatrixAlgebra OG_ALGEBRA
public static MatrixAlgebra getMatrixAlgebra(String algebraName)
algebraName - The name of the matrix algebra calculatorIllegalArgumentException - If the calculator name is null or there is no calculator for that namepublic static String getMatrixAlgebraName(MatrixAlgebra algebra)
algebra - The algebraCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.