aerocaps.geom.nurbs_purepython.bernstein_poly# bernstein_poly(n: int, i: int, t: float) → float[source]# Evaluates the Bernstein polynomial at a single \(t\)-value. The Bernstein polynomial is given by \[B_{i,n}(t)={n \choose i} t^i (1-t)^{n-i}\] Parameters: n (int) – Degree of the polynomial i (int) – Index t (float) – Parameter value \(t\) at which to evaluate Returns: Value of the Bernstein polynomial at \(t\) Return type: float