public class DenseD2Matrix64F
extends java.lang.Object
implements java.io.Serializable, org.ejml.data.ReshapeMatrix, org.ejml.data.DMatrix
| Modifier and Type | Field and Description |
|---|---|
double[][] |
data
Where the raw data for the matrix is stored.
|
int |
numCols
Number of columns in the matrix.
|
int |
numRows
Number of rows in the matrix.
|
| Constructor and Description |
|---|
DenseD2Matrix64F(int numRows,
int numCols) |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.ejml.data.Matrix> |
copy() |
<T extends org.ejml.data.Matrix> |
createLike() |
double |
get(int row,
int col) |
int |
getNumCols() |
int |
getNumElements() |
int |
getNumRows() |
org.ejml.data.MatrixType |
getType() |
void |
print() |
void |
reshape(int numRows,
int numCols) |
void |
set(int row,
int col,
double val) |
void |
set(org.ejml.data.Matrix original) |
double |
unsafe_get(int row,
int col) |
void |
unsafe_set(int row,
int col,
double val) |
public double[][] data
public int numRows
public int numCols
public void reshape(int numRows,
int numCols)
reshape in interface org.ejml.data.ReshapeMatrixpublic double get(int row,
int col)
get in interface org.ejml.data.DMatrixpublic void set(int row,
int col,
double val)
set in interface org.ejml.data.DMatrixpublic double unsafe_get(int row,
int col)
unsafe_get in interface org.ejml.data.DMatrixpublic void unsafe_set(int row,
int col,
double val)
unsafe_set in interface org.ejml.data.DMatrixpublic int getNumElements()
getNumElements in interface org.ejml.data.DMatrixpublic int getNumRows()
getNumRows in interface org.ejml.data.Matrixpublic int getNumCols()
getNumCols in interface org.ejml.data.Matrixpublic void print()
print in interface org.ejml.data.Matrixpublic <T extends org.ejml.data.Matrix> T copy()
copy in interface org.ejml.data.Matrixpublic <T extends org.ejml.data.Matrix> T createLike()
createLike in interface org.ejml.data.Matrixpublic void set(org.ejml.data.Matrix original)
set in interface org.ejml.data.Matrixpublic org.ejml.data.MatrixType getType()
getType in interface org.ejml.data.Matrix