def dmp_grounds(c, n, u):
 if (not n):
  return []
 if (u < 0):
  return ([c] * n)
 else:
  return [dmp_ground(c, u) for i in range(n)]

def dmp_grounds ( c , n , u ) : if ( not n ) : return [ ] if ( u < 0 ) : return ( [ c ] * n ) else : return [ dmp_ground ( c , u ) for i in range ( n ) ]
return a list of multivariate constants .