Class AbstractDenseIntMatrix2D

    • Constructor Detail

      • AbstractDenseIntMatrix2D

        public AbstractDenseIntMatrix2D​(long rows,
                                        long columns)
    • Method Detail

      • getInt

        public final int getInt​(long... coordinates)
        Description copied from interface: IntMatrix
        Returns an int representation of an entry in the matrix. The stored value will be converted to an int as good as possible.
        Specified by:
        getInt in interface IntMatrix
        Parameters:
        coordinates - location of the entry
        Returns:
        an int representation of the entry @
      • setInt

        public final void setInt​(int value,
                                 long... coordinates)
        Description copied from interface: IntMatrix
        Sets an entry in the matrix to an int value. If the matrix cannot store int values, the value will be represented as good as possible.
        Specified by:
        setInt in interface IntMatrix
        Parameters:
        value - int value
        coordinates - location of the entry @