Class ComplexMatrix
- java.lang.Object
-
- com.singularsys.extensions.matrix.genericmat.GenericMatrix<Complex>
-
- com.singularsys.extensions.matrix.complexmat.ComplexMatrix
-
- All Implemented Interfaces:
MatrixI,java.io.Serializable
public class ComplexMatrix extends GenericMatrix<Complex>
Implementation for vector whose elements areComplexnumbers.- Since:
- Jep 3.5 / Extensions 2.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.singularsys.extensions.matrix.genericmat.GenericMatrix
data
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedComplexMatrix(java.lang.Object[][] data)Create matrix with the supplied array of data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetEle(int row, int col, java.lang.Object val)Just callssetEleG(int, int, Complex)with some type checking-
Methods inherited from class com.singularsys.extensions.matrix.genericmat.GenericMatrix
equals, getDimensions, getEle, getNCols, getNRows, hashCode, setEleG, toArray, toString
-
-
-
-
Method Detail
-
setEle
public void setEle(int row, int col, java.lang.Object val) throws EvaluationExceptionJust callssetEleG(int, int, Complex)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
-
-