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 Details

    • blockLength

      public int blockLength
    • blocks

      public double[][][] blocks
    • numRows

      public int numRows
      Number of rows in the matrix.
    • numCols

      public int numCols
      Number 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:
      reshape in interface org.ejml.data.ReshapeMatrix
    • zero

      public void zero()
      Specified by:
      zero in interface org.ejml.data.Matrix
    • get

      public double get(int row, int col)
      Specified by:
      get in interface org.ejml.data.DMatrix
    • set

      public void set(int row, int col, double val)
      Specified by:
      set in interface org.ejml.data.DMatrix
    • unsafe_get

      public double unsafe_get(int row, int col)
      Specified by:
      unsafe_get in interface org.ejml.data.DMatrix
    • unsafe_set

      public void unsafe_set(int row, int col, double val)
      Specified by:
      unsafe_set in interface org.ejml.data.DMatrix
    • getNumRows

      public int getNumRows()
      Specified by:
      getNumRows in interface org.ejml.data.Matrix
    • getNumCols

      public int getNumCols()
      Specified by:
      getNumCols in interface org.ejml.data.Matrix
    • print

      public void print()
      Specified by:
      print in interface org.ejml.data.Matrix
    • print

      public void print(String format)
      Specified by:
      print in interface org.ejml.data.Matrix
    • copy

      public <T extends org.ejml.data.Matrix> T copy()
      Specified by:
      copy in interface org.ejml.data.Matrix
    • createLike

      public BlockD3Matrix64F createLike()
      Specified by:
      createLike in interface org.ejml.data.Matrix
    • create

      public BlockD3Matrix64F create(int numRows, int numCols)
      Specified by:
      create in interface org.ejml.data.Matrix
    • setTo

      public void setTo(org.ejml.data.Matrix original)
      Specified by:
      setTo in interface org.ejml.data.Matrix
    • getType

      public org.ejml.data.MatrixType getType()
      Specified by:
      getType in interface org.ejml.data.Matrix