Class AbstractDenseShortMatrix2D

    • Constructor Detail

      • AbstractDenseShortMatrix2D

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

      • getShort

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

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