Gin
Loading...
Searching...
No Matches
Namespaces | Functions
gin_lagrange.h File Reference

Namespaces

namespace  Lagrange
 Lagrange interpolation functions for obtaining smooth curves from discrete points.
 

Functions

template<typename T >
Lagrange::interpolate (const juce::Array< Point< T > > &points, T x)
 Interpolates a value at coordinate x using Lagrange polynomial interpolation.
 
template<typename T >
Lagrange::interpolate (T xArr[], T yArr[], int num, T x)
 Interpolates a value at coordinate x using Lagrange polynomial interpolation.