(self, i)
return tuple(basis)
Return the ith-basis element.
Return the ith-basis element.
Return the ith - basis element .
def monomial_basis(self, i):
        """Return the ith-basis element. """
        basis = [0]*self.ngens
        basis[i] = 1
        return tuple(basis)
def monomial_basis ( self , i ) : basis = [ 0 ] * self . ngens basis [ i ] = 1 return tuple ( basis )