Package org.ejml.data

Class DSubmatrixD1


public class DSubmatrixD1 extends Submatrix<DMatrixD1>

Describes a rectangular submatrix inside of a DMatrixD1.

Rows are row0 ≤ i < row1 and Columns are col0 ≤ j < col1

  • Constructor Details

    • DSubmatrixD1

      public DSubmatrixD1()
    • DSubmatrixD1

      public DSubmatrixD1(DMatrixD1 original)
    • DSubmatrixD1

      public DSubmatrixD1(DMatrixD1 original, int row0, int row1, int col0, int col1)
  • Method Details

    • get

      public double get(int row, int col)
    • set

      public void set(int row, int col, double value)
    • extract

      public DMatrixRMaj extract()
    • print

      public void print()
      Specified by:
      print in class Submatrix<DMatrixD1>