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 areComplex
numbers.- 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 void
setEle(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 EvaluationException
Justs callssetEleG(int, Complex)
with some type checking.- Specified by:
setEle
in interfaceVectorI
- Overrides:
setEle
in classGenericVector<Complex>
- Parameters:
index
- index of the elementval
- either a Complex or Number value- Throws:
EvaluationException
- if val is some other datatype
-
-