org.esa.beam.util.math
Class ColumnMajorMatrixFactory
java.lang.Object
org.esa.beam.util.math.ColumnMajorMatrixFactory
- All Implemented Interfaces:
- MatrixFactory
public class ColumnMajorMatrixFactory
- extends Object
- implements MatrixFactory
Matrix factory implementation.
- Version:
- $Revision$ $Date$
- Author:
- Ralf Quast
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnMajorMatrixFactory
public ColumnMajorMatrixFactory()
createMatrix
public 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.
- Specified by:
createMatrix in interface MatrixFactory
- 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.
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.