Class AbstractDenseFloatMatrix2D

    • Constructor Detail

      • AbstractDenseFloatMatrix2D

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

      • getFloat

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

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