Package org.ejml.data

Class Submatrix<M extends Matrix>

java.lang.Object
org.ejml.data.Submatrix<M>
Direct Known Subclasses:
DSubmatrixD1, FSubmatrixD1

public abstract class Submatrix<M extends Matrix> extends Object

Describes a rectangular submatrix.

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

  • Field Details

    • original

      public M extends Matrix original
    • row0

      public int row0
    • col0

      public int col0
    • row1

      public int row1
    • col1

      public int col1
  • Constructor Details

    • Submatrix

      public Submatrix()
  • Method Details

    • set

      public void set(M original, int row0, int row1, int col0, int col1)
    • set

      public void set(M original)
    • getRows

      public int getRows()
    • getCols

      public int getCols()
    • print

      public abstract void print()