|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmathcomp.la.Vector
mathcomp.la.MapVector
public class MapVector
Method Summary | |
---|---|
Vector |
copy()
Creates a copy of this vector. |
double |
get(java.lang.Object i)
Returns the value in the row i . |
Index |
getIndex()
|
void |
set(java.lang.Object i,
double x)
Sets the value at i to x . |
java.lang.String |
toString()
|
Methods inherited from class mathcomp.la.Vector |
---|
add, add, addScaled, copyFrom, normL2, normMax, scale, scalProd |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Index getIndex()
getIndex
in class Vector
public double get(java.lang.Object i)
Vector
i
.
get
in class Vector
i
- index of the row
i
public void set(java.lang.Object i, double x)
Vector
i
to x
.
set
in class Vector
i
- index of the rowx
- value to setpublic Vector copy()
Vector
copy
in class Vector
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |