Class MatrixComponentSet
- java.lang.Object
-
- com.singularsys.jep.ComponentSet
-
- com.singularsys.extensions.matrix.MatrixComponentSet
-
public class MatrixComponentSet extends ComponentSet
The set of components used by a Jep instance with Vector-Matrix support. This set will use aMatrixFunctionTable
,MatrixOperatorTable
. It will either use a suppliedMatrixComponents
or build one using the supplied MatrixFactory and MatrixField. It usesStandardConfigurableParser
necessary for parsing matrix expression and aDimensionVisitor
.
-
-
Constructor Summary
Constructors Constructor Description MatrixComponentSet(MatrixFactoryI fact, MatrixFieldI field)
ComponentSet using a DoubleNumberFactory, and specified MatrixFactory and MatrixFieldMatrixComponentSet(JepComponent... components)
MatrixComponentSet(NumberFactory nf, MatrixFactoryI fact, MatrixFieldI field)
ComponentSet with specified number factory, matrix factory and field
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DimensionVisitor
getDimensionVisitor()
MatrixFactoryI
getMatrixFactory()
MatrixFieldI
getMatrixField()
-
Methods inherited from class com.singularsys.jep.ComponentSet
addAuxComponent, addComponents, getAuxComponents, getAuxComps, getBaseComponents, getComponents, getEvaluator, getFunctionTable, getNodeFactory, getNumberFactory, getOperatorTable, getParser, getPrintVisitor, getVariableFactory, getVariableTable, setAuxComps, setEvaluator, setFunctionTable, setNodeFactory, setNumberFactory, setOperatorTable, setParser, setPrintVisitor, setVariableFactory, setVariableTable
-
-
-
-
Field Detail
-
dimv
protected DimensionVisitor dimv
-
-
Constructor Detail
-
MatrixComponentSet
public MatrixComponentSet(MatrixFactoryI fact, MatrixFieldI field)
ComponentSet using a DoubleNumberFactory, and specified MatrixFactory and MatrixField
-
MatrixComponentSet
public MatrixComponentSet(NumberFactory nf, MatrixFactoryI fact, MatrixFieldI field)
ComponentSet with specified number factory, matrix factory and field- Parameters:
nf
-fact
-field
-
-
MatrixComponentSet
public MatrixComponentSet(JepComponent... components)
-
-
Method Detail
-
getMatrixFactory
public MatrixFactoryI getMatrixFactory()
-
getMatrixField
public MatrixFieldI getMatrixField()
-
getDimensionVisitor
public DimensionVisitor getDimensionVisitor()
-
-