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 areComplex
numbers.- 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 protected
ComplexMatrix(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 void
setEle(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 EvaluationException
Just callssetEleG(int, int, Complex)
with some type checking- Specified by:
setEle
in interfaceMatrixI
- Overrides:
setEle
in classGenericMatrix<Complex>
- Parameters:
row
- the row indexcol
- the column indexval
- either a Complex or Number value- Throws:
EvaluationException
- if val is some other datatype
-
-