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.
|
getParts
public 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)
JepComponent
init
in interface JepComponent
init
in class ComponentSubset
jep
- the current Jep instancepublic JepComponent getLightWeightInstance()
JepComponent
getLightWeightInstance
in interface JepComponent
getLightWeightInstance
in class ComponentSubset
public MatrixFactoryI getMatrixFactory()
public MatrixFieldI getMatrixField()
Copyright © 2018 Singular Systems http://www.singularsys.com/jep