(f, c, u, K)
return [ dmp_mul_ground(cf, c, v, K) for cf in f ]
Multiply ``f`` by a constant value in ``K[X]``.

    Examples
    ========

    >>> from sympy.polys import ring, ZZ
    >>> R, x,y = ring("x,y", ZZ)

    >>> R.dmp_mul_ground(2*x + 2*y, ZZ(3))
    6*x + 6*y
Multiply ``f`` by a constant value in ``K[X]``.
Multiply f by a constant value in K [ X ] .
def dmp_mul_ground(f, c, u, K):
    """
    Multiply ``f`` by a constant value in ``K[X]``.

    Examples
    ========

    >>> from sympy.polys import ring, ZZ
    >>> R, x,y = ring("x,y", ZZ)

    >>> R.dmp_mul_ground(2*x + 2*y, ZZ(3))
    6*x + 6*y

    """
    if not u:
        return dup_mul_ground(f, c, K)

    v = u - 1

    return [ dmp_mul_ground(cf, c, v, K) for cf in f ]
def dmp_mul_ground ( f , c , u , K ) : if not u : return dup_mul_ground ( f , c , K ) v = u - 1 return [ dmp_mul_ground ( cf , c , v , K ) for cf in f ]