def dmp_eval_in(f, a, j, u, K):
    if j < 0 or j > u:
        raise IndexError("0 <= j <= %s expected, got %s" % (u, j))

    return _rec_eval_in(f, a, u, 0, j, K)
Evaluate a polynomial at ``x_j = a`` in ``K[X]`` using the Horner scheme.
dataset/ETHPy150Open sympy/sympy/sympy/polys/densetools.py/dmp_eval_in