public interface Matrix
Modifier and Type | Interface and Description |
---|---|
static interface |
Matrix.ElementHandler |
Modifier and Type | Method and Description |
---|---|
Matrix |
copy(MatrixFactory factory) |
static Matrix |
createFromColumn(double[] c,
MatrixFactory matrixFactory) |
LUDecomposition |
decomposeLU() |
int |
getM() |
int |
getN() |
void |
iterateNonZeroValue(Matrix.ElementHandler handler) |
void |
iterateNonZeroValueOfColumn(int j,
Matrix.ElementHandler handler) |
void |
print() |
void |
print(java.util.List<java.lang.String> rowNames,
java.util.List<java.lang.String> columnNames) |
void |
print(java.io.PrintStream out) |
void |
print(java.io.PrintStream out,
java.util.List<java.lang.String> rowNames,
java.util.List<java.lang.String> columnNames) |
void |
setValue(int i,
int j,
double value) |
Matrix |
times(Matrix other) |
Matrix |
to(MatrixFactory factory) |
DenseMatrix |
toDense() |
SparseMatrix |
toSparse() |
static Matrix createFromColumn(double[] c, MatrixFactory matrixFactory)
int getM()
int getN()
void setValue(int i, int j, double value)
LUDecomposition decomposeLU()
void iterateNonZeroValue(Matrix.ElementHandler handler)
void iterateNonZeroValueOfColumn(int j, Matrix.ElementHandler handler)
DenseMatrix toDense()
SparseMatrix toSparse()
Matrix to(MatrixFactory factory)
Matrix copy(MatrixFactory factory)
void print()
void print(java.util.List<java.lang.String> rowNames, java.util.List<java.lang.String> columnNames)
void print(java.io.PrintStream out, java.util.List<java.lang.String> rowNames, java.util.List<java.lang.String> columnNames)
void print(java.io.PrintStream out)