(f, c, i, u, K)
Multiply ``f`` by ``c(x_2..x_u)*x_0**i`` in ``K[X]``.

    Examples
    ========

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

    >>> R.dmp_mul_term(x**2*y + x, 3*y, 2)
    3*x**4*y**2 + 3*x**3*y
Multiply ``f`` by ``c(x_2..x_u)*x_0**i`` in ``K[X]``.
Multiply f by c ( x_2 .. x_u ) * x_0 ** i in K [ X ] .
def dmp_mul_term(f, c, i, u, K):
    """
    Multiply ``f`` by ``c(x_2..x_u)*x_0**i`` in ``K[X]``.

    Examples
    ========

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

    >>> R.dmp_mul_term(x**2*y + x, 3*y, 2)
    3*x**4*y**2 + 3*x**3*y

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

    v = u - 1

    if dmp_zero_p(f, u):
        return f
    if dmp_zero_p(c, v):
        return dmp_zero(u)
    else:
        return [ dmp_mul(cf, c, v, K) for cf in f ] + dmp_zeros(i, v, K)
def dmp_mul_term ( f , c , i , u , K ) : if not u : return dup_mul_term ( f , c , i , K ) v = u - 1 if dmp_zero_p ( f , u ) : return f if dmp_zero_p ( c , v ) : return dmp_zero ( u ) else : return [ dmp_mul ( cf , c , v , K ) for cf in f ] + dmp_zeros ( i , v , K )