|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract interface to abstractly access contiguous matrices. A contiguous matrix is a dense matrix structure where all the elements are stored in a single one dimensional array.
Method Summary | |
ContiguousVectorI |
columnVector(int column)
Returns a reference to the column. |
ContiguousVectorI |
diagonalVector()
Returns a reference to the diagonal vector. |
int |
getColumnIncrement()
Returns the distance between corresponding elements in adjacent columns. |
int |
getOffset(int row,
int column)
Returns an element's offset into the value array. |
int |
getRowIncrement()
Returns the distance between corresponding elements in adjacent rows. |
double[] |
getValueArray()
Returns the internal array that is used to hold the element values. |
ContiguousVectorI |
rowVector(int row)
Returns a reference to the row. |
ContiguousMatrixI |
submatrix(int beginRow,
int beginColumn)
Returns a reference to the submatrix. |
ContiguousMatrixI |
submatrix(int beginRow,
int endRow,
int beginColumn,
int endColumn)
Returns a reference to the submatrix. |
Methods inherited from interface drasys.or.matrix.MatrixI |
columnElements,
elementAt,
elements,
equals,
getArray,
isColumnMajor,
isNull,
isRowMajor,
rowElements,
setColumn,
setDiagonal,
setElementAt,
setElements,
setElements,
setRow,
sizeOfColumns,
sizeOfElements,
sizeOfRows,
sum,
sum,
sum,
sumOfSquaredDifferences,
sumOfSquaredDifferences,
sumOfSquaredDifferences,
sumOfSquares,
sumOfSquares,
sumOfSquares |
Methods inherited from interface drasys.or.matrix.RealContainerI |
equals,
getEpsilon,
setEpsilon |
Method Detail |
public ContiguousMatrixI submatrix(int beginRow, int beginColumn)
public ContiguousMatrixI submatrix(int beginRow, int endRow, int beginColumn, int endColumn)
public ContiguousVectorI rowVector(int row)
public ContiguousVectorI columnVector(int column)
public ContiguousVectorI diagonalVector()
public double[] getValueArray()
public int getOffset(int row, int column)
public int getRowIncrement()
public int getColumnIncrement()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |