Newton-Gregory Interpolation
Interpolate equally-spaced data efficiently and discover its connection to Taylor series.
Interpolate equally-spaced data efficiently and discover its connection to Taylor series.
Compute logarithms and exponentials without a floating point unit.
Compute sine, cosine, and exponentials using only addition, subtraction, and bit shifts.
Fit rational functions to data with poles and discontinuities where polynomials fail.
Tackle tricky integrals with endpoint singularities using a clever variable transformation.
Approximate functions using polynomial interpolation without solving linear systems.
Golden section search reuses objective evaluations to efficiently minimize 1D functions. Learn how this classical algorithm connects to the golden ratio and ...
Derive and interpret the dual form of an optimization problem.
Solve constrained optimization problems using your favorite unconstrained solver.
Fit nonlinear models using Gauss-Newton and Levenberg-Marquardt algorithms.
Plot ellipses using conic, quadratic, and parametric representations.
Create cleaner 3D surface plots using radial and elliptical grids in matplotlib.
Implement a regression tree from scratch using only numpy.
Detect nonlinear relationships that Pearson and Spearman miss.