

def polevl(x, coef):
    ans = coef[(- 1)]
    for i in range((len(coef) - 2), (- 1), (- 1)):
        ans = ((ans * x) + coef[i])
    return ans

dataset/ETHPy150Open google/roboto/third_party/spiro/curves/cornu.py polevl/original