High order and sparse layers in pytorch. Lagrange Polynomial, Piecewise Lagrange Polynomial, Piecewise Discontinuous Lagrange Polynomial (Chebyshev nodes) and Fourier Series layers of arbitrary order.
💡 Throwback to a small Python project I worked on a month ago! I created a program that computes Lagrange interpolation polynomials using SymPy. It takes a set of points, calculates each Lagrange ...