public interface FloatMatrix
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FloatMatrix.RowFunction |
| Modifier and Type | Method and Description |
|---|---|
void |
addInPlace(int row,
int column,
float value)
Add a value in place
|
default float[] |
backwardSubstitution(float[] b)
Solve Ux=b for x
|
default void |
divInPlace(int row,
int column,
float value)
divide 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
|
default void |
rotateGivens(float[] dz) |
void |
setValue(int row,
int column,
float value)
Set a value
|
default void |
subInPlace(int row,
int column,
float value)
subtract a value in place
|
static Matrix<java.lang.Float> |
wrap(FloatMatrix m)
Create generic matrix from a FloatMatrix
|
int getRowCount()
int getColumnCount()
void setValue(int row,
int column,
float value)
row - location of new valuecolumn - location of new valuevalue - value to storefloat getValue(int row,
int column)
row - location of new valuecolumn - location of new valuevoid addInPlace(int row,
int column,
float value)
row - location of updated valuecolumn - location of updated valuevalue - to add at given locationvoid multInPlace(int row,
int column,
float value)
row - location of updated valuecolumn - location of updated valuevalue - to multiply at given locationdefault void subInPlace(int row,
int column,
float value)
row - location of updated valuecolumn - location of updated valuevalue - to subtract at given locationdefault void divInPlace(int row,
int column,
float value)
row - location of updated valuecolumn - location of updated valuevalue - to divide by at given locationdefault void rotateGivens(float[] dz)
default float[] backwardSubstitution(float[] b)
static Matrix<java.lang.Float> wrap(FloatMatrix m)
m - FloatMatrix to wrap with a generic Matrix