public interface VectorI
Modifier and Type | Method and Description |
---|---|
Dimensions |
getDimensions()
Gets the dimensions of the Vector or Matrix
|
java.lang.Object |
getEle(int i)
Gets the i-th element of a vector
|
int |
getNEles()
Gets the number of elements of a vector
|
void |
setEle(int i,
java.lang.Object val)
Sets an element of a vector.
|
java.lang.Object[] |
toArray(java.lang.Object[] vec) |
java.lang.Object getEle(int i)
i
- index (starts from 0)void setEle(int i, java.lang.Object val) throws EvaluationException
i
- val
- EvaluationException
int getNEles()
Dimensions getDimensions()
java.lang.Object[] toArray(java.lang.Object[] vec) throws EvaluationException
EvaluationException
Copyright © 2018 Singular Systems http://www.singularsys.com/jep