public class MatrixComponents extends ComponentSubset
MatrixFunctionTable and MatrixOperatorTable
based on supplied MatrixFactoryI and MatrixFieldI.| Constructor and Description |
|---|
MatrixComponents(MatrixFactoryI mfact,
MatrixFieldI mfield)
Constructor with no logical or string support
|
MatrixComponents(MatrixFactoryI mfact,
MatrixFieldI mfield,
boolean logical,
boolean strings)
Constructor with optional logical and string support
|
| Modifier and Type | Method and Description |
|---|---|
protected static MatrixFieldI |
buildField(MatrixFieldI mfield,
boolean logical,
boolean strings)
Creates a field with optional logical and string support
|
JepComponent |
getLightWeightInstance()
Gets a light-weight instance suitable for using in multiple threads.
|
MatrixFactoryI |
getMatrixFactory() |
MatrixFieldI |
getMatrixField() |
void |
init(Jep jep)
Initialize the component.
|
getPartspublic MatrixComponents(MatrixFactoryI mfact, MatrixFieldI mfield)
mfact - the MatrixFactory to usemfield - the MatrixField to usepublic MatrixComponents(MatrixFactoryI mfact, MatrixFieldI mfield, boolean logical, boolean strings)
mfact - the MatrixFactory to usemfield - the MatrixField to uselogical - whether operations on booleans are supportedstrings - whether string operations are supportedprotected static MatrixFieldI buildField(MatrixFieldI mfield, boolean logical, boolean strings)
mfield - base fieldlogical - whether operations on booleans are supportedstrings - whether string operations are supportedpublic void init(Jep jep)
JepComponentinit in interface JepComponentinit in class ComponentSubsetjep - the current Jep instancepublic JepComponent getLightWeightInstance()
JepComponentgetLightWeightInstance in interface JepComponentgetLightWeightInstance in class ComponentSubsetpublic MatrixFactoryI getMatrixFactory()
public MatrixFieldI getMatrixField()
Copyright © 2018 Singular Systems http://www.singularsys.com/jep