Package org.ejml.data
Class BlockD3Matrix64F
java.lang.Object
org.ejml.data.BlockD3Matrix64F
- All Implemented Interfaces:
Serializable,org.ejml.data.DMatrix,org.ejml.data.Matrix,org.ejml.data.ReshapeMatrix
public class BlockD3Matrix64F
extends Object
implements org.ejml.data.ReshapeMatrix, org.ejml.data.DMatrix
Row-major block matrix declared using 3D array.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintdouble[][][]intNumber of columns in the matrix.intNumber of rows in the matrix. -
Constructor Summary
ConstructorsConstructorDescriptionBlockD3Matrix64F(int numRows, int numCols) BlockD3Matrix64F(int numRows, int numCols, int blockLength) -
Method Summary
Modifier and TypeMethodDescription<T extends org.ejml.data.Matrix>
Tcopy()create(int numRows, int numCols) doubleget(int row, int col) double[][][]getData()intintorg.ejml.data.MatrixTypegetType()voidprint()voidvoidreshape(int numRows, int numCols) voidset(int row, int col, double val) voidsetTo(org.ejml.data.Matrix original) doubleunsafe_get(int row, int col) voidunsafe_set(int row, int col, double val) voidzero()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ejml.data.DMatrix
getNumElements
-
Field Details
-
blockLength
public int blockLength -
blocks
public double[][][] blocks -
numRows
public int numRowsNumber of rows in the matrix. -
numCols
public int numColsNumber of columns in the matrix.
-
-
Constructor Details
-
BlockD3Matrix64F
public BlockD3Matrix64F(int numRows, int numCols, int blockLength) -
BlockD3Matrix64F
public BlockD3Matrix64F(int numRows, int numCols)
-
-
Method Details
-
getData
public double[][][] getData() -
reshape
public void reshape(int numRows, int numCols) - Specified by:
reshapein interfaceorg.ejml.data.ReshapeMatrix
-
zero
public void zero()- Specified by:
zeroin interfaceorg.ejml.data.Matrix
-
get
public double get(int row, int col) - Specified by:
getin interfaceorg.ejml.data.DMatrix
-
set
public void set(int row, int col, double val) - Specified by:
setin interfaceorg.ejml.data.DMatrix
-
unsafe_get
public double unsafe_get(int row, int col) - Specified by:
unsafe_getin interfaceorg.ejml.data.DMatrix
-
unsafe_set
public void unsafe_set(int row, int col, double val) - Specified by:
unsafe_setin interfaceorg.ejml.data.DMatrix
-
getNumRows
public int getNumRows()- Specified by:
getNumRowsin interfaceorg.ejml.data.Matrix
-
getNumCols
public int getNumCols()- Specified by:
getNumColsin interfaceorg.ejml.data.Matrix
-
print
public void print()- Specified by:
printin interfaceorg.ejml.data.Matrix
-
print
- Specified by:
printin interfaceorg.ejml.data.Matrix
-
copy
public <T extends org.ejml.data.Matrix> T copy()- Specified by:
copyin interfaceorg.ejml.data.Matrix
-
createLike
- Specified by:
createLikein interfaceorg.ejml.data.Matrix
-
create
- Specified by:
createin interfaceorg.ejml.data.Matrix
-
setTo
public void setTo(org.ejml.data.Matrix original) - Specified by:
setToin interfaceorg.ejml.data.Matrix
-
getType
public org.ejml.data.MatrixType getType()- Specified by:
getTypein interfaceorg.ejml.data.Matrix
-