|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Matrix
The Matrix superclass provides an abstract encapsulation for traditional 2D matrices. Concrete implementations of this class should implement additional interfaces. See subclasses.
| Method Summary | |
|---|---|
Vector |
getColumn(int j)
Returns the ith column. |
java.lang.Number |
getElement(int i,
int j)
Returns the element at position i,j. |
Vector |
getRow(int i)
Returns the ith row. |
int |
numColumns()
Returns the number of columns. |
int |
numRows()
Returns the number of rows. |
java.lang.Number[][] |
toArray(Matrix v)
Converts a matrix to an array. |
Matrix |
transpose()
Returns the transpose of this matrix. |
| Methods inherited from interface org.jscience.mathematics.algebraic.Hypermatrix |
|---|
getDimensions, getElement, numDimensions, numElements, numElements, toArray, toArray |
| Method Detail |
|---|
int numRows()
int numColumns()
java.lang.Number getElement(int i,
int j)
throws IllegalDimensionException
i - DOCUMENT ME!j - DOCUMENT ME!
IllegalDimensionException - DOCUMENT ME!java.lang.Number[][] toArray(Matrix v)
v - DOCUMENT ME!
Vector getRow(int i)
i - DOCUMENT ME!
Vector getColumn(int j)
j - DOCUMENT ME!
Matrix transpose()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||