Return to Snippet

Revision: 21806
at December 21, 2009 18:38 by jimfred


Initial Code
static double interpolate( double x0, double y0, double x1, double y1, double x )
{
    return y0*(x - x1)/(x0 - x1) + y1*(x - x0)/(x1 - x0);
}

Initial URL

                                

Initial Description

                                

Initial Title
Linear interpolation, C#

Initial Tags

                                

Initial Language
C#