public class SequenceMatrixField extends AbstractMatrixField
SequenceMatrix
or
or DoubleVector
.mf
Constructor and Description |
---|
SequenceMatrixField(MatrixFactoryI mf) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
addEle(java.lang.Object l,
java.lang.Object r) |
protected MatrixI |
addMM(MatrixI l,
MatrixI r) |
protected VectorI |
addVV(VectorI l,
VectorI r)
Add two vectors
|
protected java.lang.Boolean |
andEle(java.lang.Object l,
java.lang.Object r) |
java.lang.Object |
convertFromInt(java.lang.Integer l)
Attempt to convert argument from an integer
|
java.lang.Integer |
convertToInt(java.lang.Object l)
Attempt to convert argument to an integer
|
protected java.lang.Object |
crossVV(VectorI l,
VectorI r)
Default inefficient implementation.
|
protected java.lang.Object |
detM(MatrixI l)
Return the determinant of a matrix.
|
protected java.lang.Object |
divEle(java.lang.Object l,
java.lang.Object r) |
protected SequenceMatrix |
divMO(MatrixI l,
java.lang.Object r) |
protected VectorI |
divVO(VectorI l,
java.lang.Object r) |
protected java.lang.Object |
dotVV(VectorI l,
VectorI r)
Default inefficient implementation.
|
protected java.lang.Boolean |
eqEle(java.lang.Object l,
java.lang.Object r) |
protected java.lang.Boolean |
eqMM(MatrixI l,
MatrixI r) |
protected java.lang.Boolean |
eqVV(VectorI l,
VectorI r) |
protected java.lang.Boolean |
geEle(java.lang.Object l,
java.lang.Object r) |
JepComponent |
getLightWeightInstance()
Gets a light-weight instance suitable for using in multiple threads.
|
java.lang.Object |
getOne()
Get the multiplicative identity for this field.
|
java.lang.Object |
getZero()
Get the additive identity for this field
|
protected java.lang.Boolean |
gtEle(java.lang.Object l,
java.lang.Object r) |
void |
init(Jep jep)
Initialize the component.
|
protected java.lang.Boolean |
leEle(java.lang.Object l,
java.lang.Object r) |
protected java.lang.Boolean |
ltEle(java.lang.Object l,
java.lang.Object r) |
protected java.lang.Object |
modEle(java.lang.Object l,
java.lang.Object r) |
protected java.lang.Object |
mulEle(java.lang.Object l,
java.lang.Object r) |
protected SequenceMatrix |
mulMM(MatrixI l,
MatrixI r) |
protected SequenceMatrix |
mulMO(MatrixI l,
java.lang.Object r) |
protected DoubleVector |
mulMV(MatrixI l,
VectorI r) |
protected DoubleVector |
mulVM(VectorI l,
MatrixI r) |
protected VectorI |
mulVO(VectorI l,
java.lang.Object r) |
protected MatrixI |
mulVV(VectorI l,
VectorI r) |
protected java.lang.Boolean |
neEle(java.lang.Object l,
java.lang.Object r) |
protected java.lang.Object |
negEle(java.lang.Object l) |
protected MatrixI |
negM(MatrixI l) |
protected VectorI |
negV(VectorI l) |
protected java.lang.Boolean |
neMM(MatrixI l,
MatrixI r) |
protected java.lang.Boolean |
neVV(VectorI l,
VectorI r) |
protected java.lang.Boolean |
notEle(java.lang.Object l) |
protected java.lang.Boolean |
orEle(java.lang.Object l,
java.lang.Object r) |
protected java.lang.Object |
powEle(java.lang.Object l,
java.lang.Object r) |
protected java.lang.Object |
subEle(java.lang.Object l,
java.lang.Object r) |
protected MatrixI |
subMM(MatrixI l,
MatrixI r) |
protected VectorI |
subVV(VectorI l,
VectorI r) |
java.lang.Object |
trace(java.lang.Object mat)
Trace of a matrix
|
protected java.lang.Object |
transM(MatrixI l) |
public SequenceMatrixField(MatrixFactoryI mf)
protected MatrixI addMM(MatrixI l, MatrixI r)
addMM
in class AbstractMatrixField
protected MatrixI subMM(MatrixI l, MatrixI r)
subMM
in class AbstractMatrixField
protected MatrixI negM(MatrixI l)
negM
in class AbstractMatrixField
protected SequenceMatrix mulMO(MatrixI l, java.lang.Object r)
mulMO
in class AbstractMatrixField
protected SequenceMatrix mulMM(MatrixI l, MatrixI r)
mulMM
in class AbstractMatrixField
protected DoubleVector mulVM(VectorI l, MatrixI r)
mulVM
in class AbstractMatrixField
protected DoubleVector mulMV(MatrixI l, VectorI r)
mulMV
in class AbstractMatrixField
protected SequenceMatrix divMO(MatrixI l, java.lang.Object r)
divMO
in class AbstractMatrixField
protected java.lang.Object detM(MatrixI l) throws EvaluationException
AbstractMatrixField
detM
in class AbstractMatrixField
l
- the matrixEvaluationException
protected java.lang.Object transM(MatrixI l)
transM
in class AbstractMatrixField
protected VectorI addVV(VectorI l, VectorI r)
AbstractMatrixField
addVV
in class AbstractMatrixField
l
- lhs vectorr
- rhs vectorprotected VectorI subVV(VectorI l, VectorI r)
subVV
in class AbstractMatrixField
protected VectorI negV(VectorI l)
negV
in class AbstractMatrixField
protected VectorI mulVO(VectorI l, java.lang.Object r)
mulVO
in class AbstractMatrixField
protected VectorI divVO(VectorI l, java.lang.Object r)
divVO
in class AbstractMatrixField
protected java.lang.Object addEle(java.lang.Object l, java.lang.Object r)
addEle
in class AbstractMatrixField
protected java.lang.Object mulEle(java.lang.Object l, java.lang.Object r)
mulEle
in class AbstractMatrixField
protected java.lang.Object subEle(java.lang.Object l, java.lang.Object r)
subEle
in class AbstractMatrixField
protected java.lang.Object dotVV(VectorI l, VectorI r) throws EvaluationException
AbstractMatrixField
dotVV
in class AbstractMatrixField
l
- lhs vectorr
- rhs vectorEvaluationException
protected MatrixI mulVV(VectorI l, VectorI r) throws EvaluationException
mulVV
in class AbstractMatrixField
EvaluationException
protected java.lang.Object crossVV(VectorI l, VectorI r) throws EvaluationException
AbstractMatrixField
crossVV
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean eqVV(VectorI l, VectorI r) throws EvaluationException
eqVV
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean neVV(VectorI l, VectorI r) throws EvaluationException
neVV
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean eqMM(MatrixI l, MatrixI r) throws EvaluationException
eqMM
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean neMM(MatrixI l, MatrixI r) throws EvaluationException
neMM
in class AbstractMatrixField
EvaluationException
public java.lang.Object trace(java.lang.Object mat) throws EvaluationException
AbstractMatrixField
trace
in interface MatrixFieldI
trace
in class AbstractMatrixField
mat
- the matrixEvaluationException
protected java.lang.Object negEle(java.lang.Object l) throws EvaluationException
negEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Object divEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
divEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Object modEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
modEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Object powEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
powEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean eqEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
eqEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean neEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
neEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean leEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
leEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean ltEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
ltEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean geEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
geEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean gtEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
gtEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean andEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
andEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean orEle(java.lang.Object l, java.lang.Object r) throws EvaluationException
orEle
in class AbstractMatrixField
EvaluationException
protected java.lang.Boolean notEle(java.lang.Object l) throws EvaluationException
notEle
in class AbstractMatrixField
EvaluationException
public java.lang.Object getOne()
FieldI
public java.lang.Object getZero()
FieldI
public java.lang.Integer convertToInt(java.lang.Object l) throws EvaluationException
IntegerConvertor
l
- value to convertEvaluationException
public java.lang.Object convertFromInt(java.lang.Integer l) throws EvaluationException
IntegerConvertor
l
- value to convertEvaluationException
public void init(Jep jep)
JepComponent
jep
- the current Jep instancepublic JepComponent getLightWeightInstance()
JepComponent
Copyright © 2018 Singular Systems http://www.singularsys.com/jep