|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmathcomp.la.Matrix
mathcomp.la.MapMatrix
public class MapMatrix
| Method Summary | |
|---|---|
Matrix |
copy()
Creates a copy of this matrix. |
double |
get(java.lang.Object i,
java.lang.Object j)
Returns value at (i,j). |
Index |
getIndex()
|
java.util.Iterator |
relevantIndices(java.lang.Object row)
Returns Iterator, that traverses all indices of nonnull elements
in the row row. |
int |
relevantIndicesNum(java.lang.Object row)
Returns the number of nonnull elements in row row. |
void |
set(java.lang.Object i,
java.lang.Object j,
double x)
Sets value at (i,j) to x. |
java.lang.String |
toString()
|
| Methods inherited from class mathcomp.la.Matrix |
|---|
add, map, map, transpose |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Index getIndex()
getIndex in class Matrix
public double get(java.lang.Object i,
java.lang.Object j)
Matrix(i,j).
get in class Matrixi - index of the rowj - index of the column
(i,j)
public void set(java.lang.Object i,
java.lang.Object j,
double x)
Matrix(i,j) to x.
set in class Matrixi - index of the rowj - index of the columnx - value to set at (i,j)public Matrix copy()
Matrix
copy in class Matrixpublic java.util.Iterator relevantIndices(java.lang.Object row)
MatrixIterator, that traverses all indices of nonnull elements
in the row row.
relevantIndices in class Matrixrow - the index of the row
Iterator, that traverses all indices of nonnull elements
in the row rowpublic int relevantIndicesNum(java.lang.Object row)
Matrixrow.
relevantIndicesNum in class Matrixrow - the index of the row
rowpublic 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 | |||||||||