Class AbstractDoubleMatrix2D

    • Constructor Detail

      • AbstractDoubleMatrix2D

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

      • getDouble

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

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