Class DefaultSparseBigIntegerMatrix

    • Constructor Detail

      • DefaultSparseBigIntegerMatrix

        public DefaultSparseBigIntegerMatrix​(Matrix m)
      • DefaultSparseBigIntegerMatrix

        public DefaultSparseBigIntegerMatrix​(Matrix m,
                                             int maximumNumberOfEntries)
      • DefaultSparseBigIntegerMatrix

        public DefaultSparseBigIntegerMatrix​(long... size)
    • Method Detail

      • setBigInteger

        public void setBigInteger​(java.math.BigInteger value,
                                  long... coordinates)
        Specified by:
        setBigInteger in interface BigIntegerMatrix
      • getNumber

        public java.math.BigInteger 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.BigInteger>
        Parameters:
        coordinates - location of the entry
        Returns:
        a Number representation of the entry @
      • setNumber

        public void setNumber​(java.math.BigInteger 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.BigInteger>
        Parameters:
        value - Number value
        coordinates - location of the entry @