From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3299911f1ca4d779923db9d0520eb707.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199712112254.RAA12058@linux03.amt.tay1.dec.com> Date: Thu, 11 Dec 1997 21:41:55 -0500 (EST) From: Christopher Curtis Subject: [Off-Topic:] Number game: interpolation Hello, Sorry this isn't really related to Linux/AXP, but there seem to be quite a few people out there who are really into these numbers things, and I need help finding an algorithm. I have a project that requires, at some points, interpolation, and I'm trying to find a good algorithm. I have numerical recipies and a college text, "An Introduction to Numerical Methods," but recipies has let me down, and the other one doesn't have any code. =) I can derive linear interpolation by myself (and have) and I've taken a cubic spline from Recipies. The problem is that I don't have a nice dataset. The graph increases slowly, then very rapidly, until it hits a cutoff point, at which it falls constant. The graph look like: ................ . . . . . .. ... .... ..... ...... ....... ........ The linear method won't work well for us where the data curves well (it appears very 'choppy' when graphed) and cubic spline has a fit when the derivates fall to zero at the end. I've done a web search for what I think I'm looking for: A corrective algorithm that implements several methods, and choses the 'best' one after performing some sort of estimated error, but mostly all I'm able to find are pages that contain every word in the american language in white on white backgrounds selling property in the former Czech republic. :( I was wondering if such a beast existed anywhere, or if someone could point me to some code somewhere (preferrably in electronic form) that would help here. I'm doing C, but think I can Xlate fortran =) Thanks in advance, -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com