public class FloatArrayMatrix extends java.lang.Object implements FloatMatrix
FloatMatrix.RowFunction| Constructor and Description |
|---|
FloatArrayMatrix() |
FloatArrayMatrix(int nrow,
int ncol) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInPlace(int row,
int column,
float value)
Add a value in place
|
int |
getColumnCount()
Return the number of columns in the matrix
|
int |
getRowCount()
Return the number of rows in the matrix.
|
float |
getValue(int row,
int column)
Get a value
|
void |
multInPlace(int row,
int column,
float value)
Multiply a value in place
|
void |
setSize(int nrow,
int ncol) |
void |
setValue(int row,
int column,
float value)
Set a value
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackwardSubstitution, divInPlace, rotateGivens, subInPlace, wrappublic FloatArrayMatrix(int nrow,
int ncol)
public FloatArrayMatrix()
public void setSize(int nrow,
int ncol)
public int getRowCount()
FloatMatrixgetRowCount in interface FloatMatrixpublic int getColumnCount()
FloatMatrixgetColumnCount in interface FloatMatrixpublic void setValue(int row,
int column,
float value)
FloatMatrixsetValue in interface FloatMatrixrow - location of new valuecolumn - location of new valuevalue - value to storepublic float getValue(int row,
int column)
FloatMatrixgetValue in interface FloatMatrixrow - location of new valuecolumn - location of new valuepublic void addInPlace(int row,
int column,
float value)
FloatMatrixaddInPlace in interface FloatMatrixrow - location of updated valuecolumn - location of updated valuevalue - to add at given locationpublic void multInPlace(int row,
int column,
float value)
FloatMatrixmultInPlace in interface FloatMatrixrow - location of updated valuecolumn - location of updated valuevalue - to multiply at given location