|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Mat
based on the Matrix template from Numerical Recipes. Abstracts a square vector of vectors of double
| Method Summary | |
|---|---|
double[][] |
asArray()
get the data |
Mat |
copy()
return a copy of this, or some version that the user can manipulate at will. |
double |
get(int i,
int j)
get an individual element |
Vec |
getColumn(int i)
get a column |
Vec |
getRow(int i)
get a row |
void |
set(int i,
int j,
double d)
set an individual element |
int |
size()
the size of the matrix |
| Method Detail |
|---|
int size()
double get(int i,
int j)
i - the rowj - the column
Vec getRow(int i)
i - the row
Vec getColumn(int i)
i - the column
void set(int i,
int j,
double d)
i - the rowj - the columnd - the value to set it to
java.lang.UnsupportedOperationException - if the vector is immutableMat copy()
double[][] asArray()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||