|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
R
- the row type.C
- the column type.public interface DoubleMatrix<R,C>
This interface is used to represent matrices whose elements are strictly double precision numbers.
Method Summary | |
---|---|
DoubleMatrix<R,C> |
getColumn(java.lang.Object columnIndex)
Returns the column corresponding to the provided column index. |
java.lang.Double |
getElement(java.lang.Object rowIndex,
java.lang.Object columnIndex)
Returns the element of this matrix at the provided row and column indices. |
DoubleMatrix<R,C> |
getRow(java.lang.Object rowIndex)
Returns the row corresponding to the provided row index. |
java.util.List<LinearComb<C>> |
toLinearCombs()
Returns this matrix as a list of linear combinations. |
Methods inherited from interface sbrt.kernel.math.algebra.Matrix |
---|
columns, equals, getColumnIndices, getRowIndices, hashCode, isColumnIndex, isEmpty, isRowIndex, rows, toString |
Method Detail |
---|
java.lang.Double getElement(java.lang.Object rowIndex, java.lang.Object columnIndex)
getElement
in interface Matrix<R,C,java.lang.Double>
rowIndex
- the row index.columnIndex
- the column index.
DoubleMatrix<R,C> getRow(java.lang.Object rowIndex)
getRow
in interface Matrix<R,C,java.lang.Double>
rowIndex
- the index of the row to be returned.
DoubleMatrix<R,C> getColumn(java.lang.Object columnIndex)
getColumn
in interface Matrix<R,C,java.lang.Double>
columnIndex
- the index of the column to be returned.
java.util.List<LinearComb<C>> toLinearCombs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |