Constructs the Vandermonde matrix on equidistant points. Measures the growth rate of the condition number depending on the number of points.
Performs interpolation using equidistant points by solving a linear system with the Vandermonde matrix.
Performs interpolation using Chebyshev points in the Lagrange polynomial basis.
Plots the sum of Lagrange polynomials and computes the Lebesgue constant for equidistant or Chebyshev points.
Constructs a cubic spline with clamped boundary conditions by solving a tridiagonal system using the TDMA algorithm.
Performs linear least-squares fitting in the monomial basis
using either the function
numpy.linals.lstsq
or by solving the normal equations.
Performs linear least-squares fitting in the basis of exponentials.
Solves an underdetermined least-squares problem
using either the function
numpy.linals.lstsq
or by solving the normal equations with a regularizer.
Solves the problem of locating a transmitter given distances to beacons
using the Levenberg-Marquardt algorithm from scipy.optimize.root
.