Gin
Functions
Lagrange Namespace Reference

Lagrange interpolation is a simple way to obtain a smooth curve from a set of discrete points. More...

Functions

template<typename T >
interpolate (const juce::Array< Point< T >> &points, T x)
 
template<typename T >
interpolate (T xArr[], T yArr[], int num, T x)
 

Detailed Description

Lagrange interpolation is a simple way to obtain a smooth curve from a set of discrete points.

Function Documentation

◆ interpolate() [1/2]

template<typename T >
T Lagrange::interpolate ( const juce::Array< Point< T >> &  points,
x 
)

◆ interpolate() [2/2]

template<typename T >
T Lagrange::interpolate ( xArr[],
yArr[],
int  num,
x 
)