def dmp_trunc(f, p, u, K):
    return dmp_strip([ dmp_rem(c, p, u - 1, K) for c in f ], u)
Reduce a ``K[X]`` polynomial modulo a polynomial ``p`` in ``K[Y]``.
dataset/ETHPy150Open sympy/sympy/sympy/polys/densetools.py/dmp_trunc