public final class ComplexMatrixField extends GenericMatrixField<Complex>
ComplexMatrix
and ComplexVector
types.mf
Constructor and Description |
---|
ComplexMatrixField(ComplexMatrixFactory mf) |
Modifier and Type | Method and Description |
---|---|
protected Complex |
addEle(Complex l,
Complex r)
Adds two elements of the vector/matrix
|
protected java.lang.Boolean |
andEle(Complex l,
Complex r) |
protected Complex |
calcSize(Complex ele)
Get the current "size" of an element
|
protected boolean |
cmpSize(Complex size,
Complex max)
Compare current "size" to maximum.
|
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 Complex |
divEle(Complex l,
Complex r) |
protected java.lang.Boolean |
eqEle(Complex l,
Complex r) |
protected java.lang.Boolean |
geEle(Complex l,
Complex r) |
Complex |
getOne()
Get the multiplicative identity for this field.
|
Complex |
getZero()
Get the additive identity for this field
|
protected java.lang.Boolean |
gtEle(Complex l,
Complex r) |
protected java.lang.Boolean |
leEle(Complex l,
Complex r) |
protected java.lang.Boolean |
ltEle(Complex l,
Complex r) |
protected Complex |
modEle(Complex l,
Complex r) |
protected Complex |
mulEle(Complex l,
Complex r) |
protected java.lang.Boolean |
neEle(Complex l,
Complex r) |
protected Complex |
negEle(Complex l) |
protected java.lang.Boolean |
notEle(Complex l) |
protected java.lang.Boolean |
orEle(Complex l,
Complex r) |
protected Complex |
powEle(Complex l,
Complex r) |
protected Complex |
subEle(Complex l,
Complex r) |
add, add, add, and, cross, cross, det, det, div, div, div, dot, dot, eq, eq, eq, ge, getLightWeightInstance, gt, init, inv, invMat, le, lt, minor, mod, mul, mul, mul, mul, mul, mul, mul, ne, neg, neg, neg, not, or, pow, solve, solveMM, solveMV, sub, sub, sub, subtractMul, swapRows, trace, trace, trans, trans
public ComplexMatrixField(ComplexMatrixFactory mf)
protected Complex addEle(Complex l, Complex r) throws EvaluationException
GenericMatrixField
addEle
in class GenericMatrixField<Complex>
l
- lhs elementr
- rhs elementEvaluationException
protected Complex divEle(Complex l, Complex r) throws EvaluationException
divEle
in class GenericMatrixField<Complex>
EvaluationException
protected Complex mulEle(Complex l, Complex r) throws EvaluationException
mulEle
in class GenericMatrixField<Complex>
EvaluationException
protected Complex negEle(Complex l) throws EvaluationException
negEle
in class GenericMatrixField<Complex>
EvaluationException
protected Complex subEle(Complex l, Complex r) throws EvaluationException
subEle
in class GenericMatrixField<Complex>
EvaluationException
protected java.lang.Boolean eqEle(Complex l, Complex r) throws EvaluationException
eqEle
in class GenericMatrixField<Complex>
EvaluationException
protected java.lang.Boolean neEle(Complex l, Complex r) throws EvaluationException
neEle
in class GenericMatrixField<Complex>
EvaluationException
protected Complex modEle(Complex l, Complex r) throws EvaluationException
modEle
in class GenericMatrixField<Complex>
EvaluationException
protected Complex powEle(Complex l, Complex r) throws EvaluationException
powEle
in class GenericMatrixField<Complex>
EvaluationException
protected java.lang.Boolean ltEle(Complex l, Complex r) throws EvaluationException
ltEle
in class GenericMatrixField<Complex>
EvaluationException
protected java.lang.Boolean leEle(Complex l, Complex r) throws EvaluationException
leEle
in class GenericMatrixField<Complex>
EvaluationException
protected java.lang.Boolean gtEle(Complex l, Complex r) throws EvaluationException
gtEle
in class GenericMatrixField<Complex>
EvaluationException
protected java.lang.Boolean geEle(Complex l, Complex r) throws EvaluationException
geEle
in class GenericMatrixField<Complex>
EvaluationException
protected java.lang.Boolean andEle(Complex l, Complex r) throws EvaluationException
andEle
in class GenericMatrixField<Complex>
EvaluationException
protected java.lang.Boolean orEle(Complex l, Complex r) throws EvaluationException
orEle
in class GenericMatrixField<Complex>
EvaluationException
protected java.lang.Boolean notEle(Complex l) throws EvaluationException
notEle
in class GenericMatrixField<Complex>
EvaluationException
protected Complex calcSize(Complex ele) throws EvaluationException
GenericMatrixField
calcSize
in class GenericMatrixField<Complex>
EvaluationException
protected boolean cmpSize(Complex size, Complex max) throws EvaluationException
GenericMatrixField
cmpSize
in class GenericMatrixField<Complex>
size
- currentmax
- maximumEvaluationException
public Complex getZero()
FieldI
getZero
in interface FieldI
getZero
in class GenericMatrixField<Complex>
public Complex getOne()
FieldI
getOne
in interface FieldI
getOne
in class GenericMatrixField<Complex>
public java.lang.Integer convertToInt(java.lang.Object l)
IntegerConvertor
l
- value to convertpublic java.lang.Object convertFromInt(java.lang.Integer l) throws EvaluationException
IntegerConvertor
l
- value to convertEvaluationException
Copyright © 2018 Singular Systems http://www.singularsys.com/jep