|
||||||||||
| 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 Vectorpublic double get(java.lang.Object i)
Vectori.
get in class Vectori - index of the row
i
public void set(java.lang.Object i,
double x)
Vectori to x.
set in class Vectori - index of the rowx - value to setpublic Vector copy()
Vector
copy in class Vectorpublic 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 | |||||||||