aerocaps.utils.math#

Math utilities

Functions

bernstein_poly(n, i, t)

Calculates the Bernstein polynomial for a given Bézier curve order, index, and parameter vector.

nchoosek(n, k)

Computes the mathematical combination