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, wait
backwardSubstitution, divInPlace, rotateGivens, subInPlace, wrap
public FloatArrayMatrix(int nrow, int ncol)
public FloatArrayMatrix()
public void setSize(int nrow, int ncol)
public int getRowCount()
FloatMatrix
getRowCount
in interface FloatMatrix
public int getColumnCount()
FloatMatrix
getColumnCount
in interface FloatMatrix
public void setValue(int row, int column, float value)
FloatMatrix
setValue
in interface FloatMatrix
row
- location of new valuecolumn
- location of new valuevalue
- value to storepublic float getValue(int row, int column)
FloatMatrix
getValue
in interface FloatMatrix
row
- location of new valuecolumn
- location of new valuepublic void addInPlace(int row, int column, float value)
FloatMatrix
addInPlace
in interface FloatMatrix
row
- location of updated valuecolumn
- location of updated valuevalue
- to add at given locationpublic void multInPlace(int row, int column, float value)
FloatMatrix
multInPlace
in interface FloatMatrix
row
- location of updated valuecolumn
- location of updated valuevalue
- to multiply at given location