Class ComplexVector
- java.lang.Object
-
- com.singularsys.extensions.matrix.genericmat.GenericVector<Complex>
-
- com.singularsys.extensions.matrix.complexmat.ComplexVector
-
- All Implemented Interfaces:
VectorI,java.io.Serializable
public class ComplexVector extends GenericVector<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.GenericVector
data
-
-
Constructor Summary
Constructors Constructor Description ComplexVector(java.lang.Object[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetEle(int index, java.lang.Object val)Justs callssetEleG(int, Complex)with some type checking.-
Methods inherited from class com.singularsys.extensions.matrix.genericmat.GenericVector
equals, getDimensions, getEle, getNEles, hashCode, setEleG, toArray, toString
-
-
-
-
Method Detail
-
setEle
public void setEle(int index, java.lang.Object val) throws EvaluationExceptionJusts callssetEleG(int, Complex)with some type checking.- Specified by:
setElein interfaceVectorI- Overrides:
setElein classGenericVector<Complex>- Parameters:
index- index of the elementval- either a Complex or Number value- Throws:
EvaluationException- if val is some other datatype
-
-