public class DoubleMatrixField extends AbstractMatrixField
DoubleMatrix and DoubleVectormf| Constructor and Description |
|---|
DoubleMatrixField(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 DoubleMatrix |
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 DoubleMatrix |
mulMM(MatrixI l,
MatrixI r) |
protected DoubleMatrix |
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 DoubleMatrixField(MatrixFactoryI mf)
protected MatrixI addMM(MatrixI l, MatrixI r)
addMM in class AbstractMatrixFieldprotected MatrixI subMM(MatrixI l, MatrixI r)
subMM in class AbstractMatrixFieldprotected MatrixI negM(MatrixI l)
negM in class AbstractMatrixFieldprotected DoubleMatrix mulMO(MatrixI l, java.lang.Object r)
mulMO in class AbstractMatrixFieldprotected DoubleMatrix mulMM(MatrixI l, MatrixI r)
mulMM in class AbstractMatrixFieldprotected DoubleVector mulVM(VectorI l, MatrixI r)
mulVM in class AbstractMatrixFieldprotected DoubleVector mulMV(MatrixI l, VectorI r)
mulMV in class AbstractMatrixFieldprotected DoubleMatrix divMO(MatrixI l, java.lang.Object r)
divMO in class AbstractMatrixFieldprotected java.lang.Object detM(MatrixI l) throws EvaluationException
AbstractMatrixFielddetM in class AbstractMatrixFieldl - the matrixEvaluationExceptionprotected java.lang.Object transM(MatrixI l)
transM in class AbstractMatrixFieldprotected VectorI addVV(VectorI l, VectorI r)
AbstractMatrixFieldaddVV in class AbstractMatrixFieldl - lhs vectorr - rhs vectorprotected VectorI subVV(VectorI l, VectorI r)
subVV in class AbstractMatrixFieldprotected VectorI negV(VectorI l)
negV in class AbstractMatrixFieldprotected VectorI mulVO(VectorI l, java.lang.Object r)
mulVO in class AbstractMatrixFieldprotected VectorI divVO(VectorI l, java.lang.Object r)
divVO in class AbstractMatrixFieldprotected java.lang.Object addEle(java.lang.Object l,
java.lang.Object r)
addEle in class AbstractMatrixFieldprotected java.lang.Object mulEle(java.lang.Object l,
java.lang.Object r)
mulEle in class AbstractMatrixFieldprotected java.lang.Object subEle(java.lang.Object l,
java.lang.Object r)
subEle in class AbstractMatrixFieldprotected java.lang.Object dotVV(VectorI l, VectorI r) throws EvaluationException
AbstractMatrixFielddotVV in class AbstractMatrixFieldl - lhs vectorr - rhs vectorEvaluationExceptionprotected MatrixI mulVV(VectorI l, VectorI r) throws EvaluationException
mulVV in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Object crossVV(VectorI l, VectorI r) throws EvaluationException
AbstractMatrixFieldcrossVV in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean eqVV(VectorI l, VectorI r) throws EvaluationException
eqVV in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean neVV(VectorI l, VectorI r) throws EvaluationException
neVV in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean eqMM(MatrixI l, MatrixI r) throws EvaluationException
eqMM in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean neMM(MatrixI l, MatrixI r) throws EvaluationException
neMM in class AbstractMatrixFieldEvaluationExceptionpublic java.lang.Object trace(java.lang.Object mat)
throws EvaluationException
AbstractMatrixFieldtrace in interface MatrixFieldItrace in class AbstractMatrixFieldmat - the matrixEvaluationExceptionprotected java.lang.Object negEle(java.lang.Object l)
throws EvaluationException
negEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Object divEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
divEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Object modEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
modEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Object powEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
powEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean eqEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
eqEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean neEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
neEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean leEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
leEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean ltEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
ltEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean geEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
geEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean gtEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
gtEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean andEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
andEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean orEle(java.lang.Object l,
java.lang.Object r)
throws EvaluationException
orEle in class AbstractMatrixFieldEvaluationExceptionprotected java.lang.Boolean notEle(java.lang.Object l)
throws EvaluationException
notEle in class AbstractMatrixFieldEvaluationExceptionpublic java.lang.Object getOne()
FieldIpublic java.lang.Object getZero()
FieldIpublic java.lang.Integer convertToInt(java.lang.Object l)
throws EvaluationException
IntegerConvertorl - value to convertEvaluationExceptionpublic java.lang.Object convertFromInt(java.lang.Integer l)
throws EvaluationException
IntegerConvertorl - value to convertEvaluationExceptionpublic void init(Jep jep)
JepComponentjep - the current Jep instancepublic JepComponent getLightWeightInstance()
JepComponentCopyright © 2018 Singular Systems http://www.singularsys.com/jep