Optimisation

Lagrange Duality

8 minute read

Derive and interpret the dual form of an optimization problem.

Quadratic Penalty Algo

6 minute read

Solve constrained optimization problems using your favorite unconstrained solver.

Nonlinear Least Squares

12 minute read

Fit nonlinear models using Gauss-Newton and Levenberg-Marquardt algorithms.

Back to Top ↑

Numerical methods

Newton-Gregory Interpolation

7 minute read

Interpolate equally-spaced data efficiently and discover its connection to Taylor series.

Tanhsinh Quadrature

8 minute read

Tackle tricky integrals with endpoint singularities using a clever variable transformation.

Lagrange Interpolation

5 minute read

Approximate functions using polynomial interpolation without solving linear systems.

Back to Top ↑

Interpolation

Newton-Gregory Interpolation

7 minute read

Interpolate equally-spaced data efficiently and discover its connection to Taylor series.

The AAA Algorithm

9 minute read

Fit rational functions to data with poles and discontinuities where polynomials fail.

Lagrange Interpolation

5 minute read

Approximate functions using polynomial interpolation without solving linear systems.

Back to Top ↑

Least Squares

The AAA Algorithm

9 minute read

Fit rational functions to data with poles and discontinuities where polynomials fail.

Nonlinear Least Squares

12 minute read

Fit nonlinear models using Gauss-Newton and Levenberg-Marquardt algorithms.

Back to Top ↑

matplotlib

Plotting Ellipses

6 minute read

Plot ellipses using conic, quadratic, and parametric representations.

Back to Top ↑

python

Plotting Ellipses

6 minute read

Plot ellipses using conic, quadratic, and parametric representations.

Back to Top ↑

Numerical computing

BKM

7 minute read

Compute logarithms and exponentials without a floating point unit.

CORDIC

12 minute read

Compute sine, cosine, and exponentials using only addition, subtraction, and bit shifts.

Back to Top ↑

Nonlinear modeling

Nonlinear Least Squares

12 minute read

Fit nonlinear models using Gauss-Newton and Levenberg-Marquardt algorithms.

Back to Top ↑

Gauss-Newton

Nonlinear Least Squares

12 minute read

Fit nonlinear models using Gauss-Newton and Levenberg-Marquardt algorithms.

Back to Top ↑

Regression

Nonlinear Least Squares

12 minute read

Fit nonlinear models using Gauss-Newton and Levenberg-Marquardt algorithms.

Back to Top ↑

Decision Trees

Back to Top ↑

Numpy

Back to Top ↑

Machine Learning

Back to Top ↑

Integration

Tanhsinh Quadrature

8 minute read

Tackle tricky integrals with endpoint singularities using a clever variable transformation.

Back to Top ↑

Trigonometry

CORDIC

12 minute read

Compute sine, cosine, and exponentials using only addition, subtraction, and bit shifts.

Back to Top ↑

Statistics

Back to Top ↑