Package org.esa.snap.core.util.math
Interface MatrixFactory
- All Known Implementing Classes:
ColumnMajorMatrixFactory
public interface MatrixFactory
Matrix factory.
-
Method Summary
Modifier and TypeMethodDescriptiondouble[][]createMatrix(int m, int n, double[] values) Creates a matrix from a given array of values.
-
Method Details
-
createMatrix
double[][] createMatrix(int m, int n, double[] values) Creates a matrix from a given array of values.- Parameters:
m- the number of rows in the matrix being created.n- the number of columns in the matrix being created.values- the values.- Returns:
- the matrix created from the values array.
-