C# and iOS Programming

Tips, tricks, snipplets, code examples

Saturday, January 19, 2008

Linear interpolation, C#

static double interpolate( double x0, double y0, double x1, double y1, double x )
{
return y0*(x - x1)/(x0 - x1) + y1*(x - x0)/(x1 - x0);
}
Posted by Alex at 12:33 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: C#
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Labels

C# (34) ASP (33) .NET (19) iOS (15) iPhone (13) SQL (11) html (10) LINQ (6) Microsoft (6) Hacks (5) WinForms (5) Windows (5) web (5) Javascript (4) Image (3) VB (3) VisualStudio (3) XML (3) DateTime (2) Mail (2) Sorting (2) AJAX (1) Browser (1) CSS (1) Cache (1) DataBinding (1) DataGrid (1) DataSet (1) DataTable (1) DataView (1) Debug (1) Delegat (1) EXIF (1) FileInfo (1) GMail (1) Google (1) GridView (1) MySQL (1) ODBC (1) Pocket PC (1) RSS (1) Regular expression (1) Source Code (1) UserControl (1) database (1) excell (1) jquery (1) meta (1)

Search This Blog

Blog Archive

  • ►  2012 (1)
    • ►  November (1)
  • ►  2011 (16)
    • ►  August (1)
    • ►  July (14)
    • ►  March (1)
  • ►  2010 (36)
    • ►  December (6)
    • ►  April (1)
    • ►  February (28)
    • ►  January (1)
  • ►  2009 (3)
    • ►  July (1)
    • ►  March (1)
    • ►  February (1)
  • ▼  2008 (4)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ▼  January (1)
      • Linear interpolation, C#
  • ►  2007 (3)
    • ►  April (1)
    • ►  March (2)
  • ►  2006 (1)
    • ►  July (1)
  • ►  2005 (29)
    • ►  October (2)
    • ►  September (3)
    • ►  June (4)
    • ►  March (6)
    • ►  February (14)
Watermark theme. Powered by Blogger.