Data Interpolation and Its Effects on Digital Sound Quality - McMurry ...
Data Interpolation and Its Effects on Digital Sound Quality - McMurry ...
Data Interpolation and Its Effects on Digital Sound Quality - McMurry ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
28~Linear() {}delete [] m_x;delete [] m_y;double getValue(double x) {}private:int i = 0;while (x > m_x[++i]);double a = (x - m_x[i - 1]) / (m_x[i] - m_x[i - 1]);return m_y[i - 1] + a * (m_y[i] - m_y[i - 1]);double *m_x, *m_y;};};};#endifA.b: Lagrange.h/** lagrange.h* Lagrange** Created by Lynn Blair <strong>on</strong> 10/13/07.**/#ifndef MATHS_INTERPOLATION_LAGRANGE_H#define MATHS_INTERPOLATION_LAGRANGE_H#include