public class ColumnMajorMatrixFactory extends Object implements MatrixFactory
Constructor and Description |
---|
ColumnMajorMatrixFactory() |
Modifier and Type | Method and Description |
---|---|
double[][] |
createMatrix(int m,
int n,
double[] values)
Creates a matrix from a given array of values, assuming
a column-major layout of the latter.
|
public double[][] createMatrix(int m, int n, double[] values)
createMatrix
in interface MatrixFactory
m
- the number of rows in the matrix being created.n
- the number of columns in the matrix being created.values
- the values.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.