Module tornado.api

Class Matrix2DInt

java.lang.Object
uk.ac.manchester.tornado.api.types.matrix.Matrix2DInt
All Implemented Interfaces:
Serializable, PrimitiveStorage<IntBuffer>, TornadoMatrixInterface<IntBuffer>

public final class Matrix2DInt extends Object implements TornadoMatrixInterface<IntBuffer>
Matrix2DInt relies on preview features of the Java platform:
Programs can only use Matrix2DInt when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
See Also:
  • Field Details

    • ROWS

      protected final int ROWS
      Number of rows.
    • COLUMNS

      protected final int COLUMNS
      Number of columns.
  • Constructor Details

    • Matrix2DInt

      public Matrix2DInt(int rows, int columns, IntArray array)
      Storage format for matrix.
      Parameters:
      rows - number of rows
      columns - number of columns
      array - array reference which contains data
    • Matrix2DInt

      public Matrix2DInt(int rows, int columns)
      Storage format for matrix.
      Parameters:
      rows - number of rows
      columns - number of columns
    • Matrix2DInt

      public Matrix2DInt(int[][] matrix)
  • Method Details