

@defun_wrapped
def chebyt(ctx, n, x, **kwargs):
    if ((not x) and ctx.isint(n) and ((int(ctx._re(n)) % 2) == 1)):
        return (x * 0)
    return ctx.hyp2f1((- n), n, (1, 2), ((1 - x) / 2), **n)

dataset/ETHPy150Open fredrik-johansson/mpmath/mpmath/functions/orthogonal.py chebyt/VarMisuse@92/103 `kwargs`->`n`