Class ComplexMatrix
java.lang.Object
com.singularsys.extensions.matrix.genericmat.GenericMatrix<Complex>
com.singularsys.extensions.matrix.complexmat.ComplexMatrix
- All Implemented Interfaces:
MatrixI,Serializable
Implementation for vector whose elements are
Complex numbers.- Since:
- Jep 3.5 / Extensions 2.0
- See Also:
-
Field Summary
Fields inherited from class com.singularsys.extensions.matrix.genericmat.GenericMatrix
data -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedComplexMatrix(Object[][] data) Create matrix with the supplied array of data -
Method Summary
Modifier and TypeMethodDescriptionvoidJust callsGenericMatrix.setEleG(int, int, Object)with some type checkingMethods inherited from class com.singularsys.extensions.matrix.genericmat.GenericMatrix
equals, getDimensions, getEle, getNCols, getNRows, hashCode, setEleG, toArray, toString
-
Constructor Details
-
ComplexMatrix
Create matrix with the supplied array of data- Parameters:
data- array of data Complex[rows][cols]
-
-
Method Details
-
setEle
Just callsGenericMatrix.setEleG(int, int, Object)with some type checking- Specified by:
setElein interfaceMatrixI- Overrides:
setElein classGenericMatrix<Complex>- Parameters:
row- the row indexcol- the column indexval- either a Complex or Number value- Throws:
EvaluationException- if val is some other datatype
-