code: def dup_mul_ground(f, c, K):
      """
      Multiply ``f`` by a constant value in ``K[x]``.
  
      Examples
      ========
  
      >>> from sympy.polys import ring, ZZ
      >>> R, x = ring("x", ZZ)
  
      >>> R.dup_mul_ground(x**2 + 2*x - 1, ZZ(3))
      3*x**2 + 6*x - 3
  
      """
      if not c or not f:
          return []
      else:
          return [cf * c for cf in f]
  
imports: from sympy.polys.densebasic import dup_slice, dup_LC, dmp_LC, dup_degree, dmp_degree, dup_strip, dmp_strip, dmp_zero_p, dmp_zero, dmp_one_p, dmp_one, dmp_ground, dmp_zeros
  from sympy.polys.polyerrors import ExactQuotientFailed, PolynomialDivisionFailed
label_desc: Use image node_id 11 for calling a global function with example usage: dup_mul_ground(f, c, K) and returns: list, unknown