Class ComplexMatrixField
java.lang.Object
com.singularsys.extensions.matrix.genericmat.GenericMatrixField<Complex>
com.singularsys.extensions.matrix.complexmat.ComplexMatrixField
- All Implemented Interfaces:
FieldI,IntegerConvertor,MatrixFieldI,JepComponent,Serializable
Field for
ComplexMatrix and ComplexVector types.- See Also:
-
Field Summary
Fields inherited from class com.singularsys.extensions.matrix.genericmat.GenericMatrixField
mf -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ComplexAdds two elements of the vector/matrixprotected Booleanprotected ComplexGet the current "size" of an elementprotected booleanCompare current "size" to maximum.Attempt to convert argument from an integerAttempt to convert argument to an integerprotected Complexprotected Booleanprotected BooleanReturns thisgetOne()Get the multiplicative identity for this field.getZero()Get the additive identity for this fieldprotected BooleanvoidInitialize the component.protected Booleanprotected Booleanprotected Complexprotected Complexprotected Booleanprotected Complexprotected Booleanprotected Booleanprotected Complexprotected ComplexMethods inherited from class com.singularsys.extensions.matrix.genericmat.GenericMatrixField
add, add, add, and, cross, cross, det, det, div, div, div, dot, dot, elementValue, eq, eq, eq, ge, gt, 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, trans
-
Constructor Details
-
ComplexMatrixField
-
-
Method Details
-
addEle
Description copied from class:GenericMatrixFieldAdds two elements of the vector/matrix- Specified by:
addElein classGenericMatrixField<Complex>- Parameters:
l- lhs elementr- rhs element- Returns:
- their sum
-
divEle
- Specified by:
divElein classGenericMatrixField<Complex>
-
mulEle
- Specified by:
mulElein classGenericMatrixField<Complex>
-
negEle
- Specified by:
negElein classGenericMatrixField<Complex>
-
subEle
- Specified by:
subElein classGenericMatrixField<Complex>
-
eqEle
- Specified by:
eqElein classGenericMatrixField<Complex>
-
neEle
- Specified by:
neElein classGenericMatrixField<Complex>
-
modEle
- Specified by:
modElein classGenericMatrixField<Complex>
-
powEle
- Specified by:
powElein classGenericMatrixField<Complex>
-
ltEle
- Specified by:
ltElein classGenericMatrixField<Complex>
-
leEle
- Specified by:
leElein classGenericMatrixField<Complex>
-
gtEle
- Specified by:
gtElein classGenericMatrixField<Complex>
-
geEle
- Specified by:
geElein classGenericMatrixField<Complex>
-
andEle
- Specified by:
andElein classGenericMatrixField<Complex>
-
orEle
- Specified by:
orElein classGenericMatrixField<Complex>
-
notEle
- Specified by:
notElein classGenericMatrixField<Complex>
-
calcSize
Description copied from class:GenericMatrixFieldGet the current "size" of an element- Overrides:
calcSizein classGenericMatrixField<Complex>- Parameters:
ele-- Returns:
-
cmpSize
Description copied from class:GenericMatrixFieldCompare current "size" to maximum.- Overrides:
cmpSizein classGenericMatrixField<Complex>- Parameters:
size- currentmax- maximum- Returns:
- true is size > max
-
getZero
Description copied from interface:FieldIGet the additive identity for this field- Specified by:
getZeroin interfaceFieldI- Specified by:
getZeroin classGenericMatrixField<Complex>- Returns:
- object representing zero or null if undefined for this field
-
getOne
Description copied from interface:FieldIGet the multiplicative identity for this field.- Specified by:
getOnein interfaceFieldI- Specified by:
getOnein classGenericMatrixField<Complex>- Returns:
- object representing one or null if undefined for this field
-
convertToInt
Description copied from interface:IntegerConvertorAttempt to convert argument to an integer- Parameters:
l- value to convert- Returns:
- corresponding integer or null if it cannot be converted
-
convertFromInt
Description copied from interface:IntegerConvertorAttempt to convert argument from an integer- Parameters:
l- value to convert- Returns:
- corresponding value in this field or null if it cannot be converted
-
init
Description copied from interface:JepComponentInitialize the component. This method is called whenever a component is added to Jep. Hence, it allows components to keep track of the other components they may rely on.- Parameters:
jep- the current Jep instance
-
getLightWeightInstance
Returns this- Specified by:
getLightWeightInstancein interfaceJepComponent- Overrides:
getLightWeightInstancein classGenericMatrixField<Complex>- Returns:
- either a new instance, null or 'this'.
-