|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Matrices that can be resized.
Method Summary | |
void |
addColumn(VectorI vector)
Adds a new column and any non-null elements in vector to the end of the matrix . |
void |
addRow(VectorI vector)
Adds a new row and any non-null elements in vector to the end of the matrix . |
int |
capacityOfColumns()
Returns the number of columns the matrix can hold without reallocating memory. |
int |
capacityOfRows()
Returns the number of rows the matrix can hold without reallocating memory. |
void |
setCapacity(int capacityOfRows,
int capacityOfColumns)
Allocates memory so the matrix can hold this many rows and columns without reallocating memory. |
void |
setSize(int sizeOfRows,
int sizeOfColumns)
Sets the number of rows and columns in the matrix. |
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 int capacityOfRows()
public int capacityOfColumns()
public void setSize(int sizeOfRows, int sizeOfColumns)
public void setCapacity(int capacityOfRows, int capacityOfColumns)
public void addRow(VectorI vector)
public void addColumn(VectorI vector)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |