Class AbstractDenseBigDecimalMatrix2D

    • Constructor Detail

      • AbstractDenseBigDecimalMatrix2D

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

      • getNumber

        public java.math.BigDecimal getNumber​(long... coordinates)
        Description copied from interface: NumberMatrixMultiD
        Returns a Number representation of an entry in the matrix. The stored value will be converted to a Number as good as possible.
        Specified by:
        getNumber in interface NumberMatrixMultiD<java.math.BigDecimal>
        Parameters:
        coordinates - location of the entry
        Returns:
        a Number representation of the entry @
      • setNumber

        public void setNumber​(java.math.BigDecimal value,
                              long... coordinates)
        Description copied from interface: NumberMatrixMultiD
        Sets an entry in the matrix to a Number value. If the matrix cannot store Number values, the value will be represented as good as possible.
        Specified by:
        setNumber in interface NumberMatrixMultiD<java.math.BigDecimal>
        Parameters:
        value - Number value
        coordinates - location of the entry @