Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wanna cubic spline

1 view
Skip to first unread message

arr...@kuhub.cc.ukans.edu

unread,
Dec 20, 1990, 4:15:13 PM12/20/90
to
Could someone please send me source code for a cubic spline
interpolation scheme, or else direct me to a place where I can
obtain it? What I need to do is to interpolate from an
irregularly spaced grid to some arbitrary location within
the grid. The code needs to be plain-vanilla f77 (i.e. no
extensions, system dependencies, etc.) because we run the model on
everything from PC's to VAXes to Crays and don't have the personnel to
maintain multiple versions.

Thanks for whatever help you can provide.
________________________________________________________________________
Raymond W. Arritt |
Assistant Professor |
Dept. of Physics and Astronomy | "everyone knew that as time went
Univ. of Kansas | by they'd get a little bit older
Lawrence, KS 66045 | and a little bit slower..."
arr...@kuhub.cc.ukans.edu |
arr...@ukanvax.bitnet |

Rob Hooft

unread,
Dec 21, 1990, 3:05:35 AM12/21/90
to
In <27575.2...@kuhub.cc.ukans.edu> arr...@kuhub.cc.ukans.edu writes:

>Could someone please send me source code for a cubic spline
>interpolation scheme, or else direct me to a place where I can
>obtain it?

Numerical Recipes, The art of scientific computing

William H Press, Brian P Flannery, Saul A Teukolsky & William T Vetterling

Cambridge University Press

ISBN 0-521-30811-9


Also Available: Floppy disks with all sources.
This book is very powerfull! I use it on a regular basis.
--
Rob Hooft, Chemistry department University of Utrecht.
ho...@hutruu54.bitnet ho...@chem.ruu.nl ho...@fys.ruu.nl

Doctor FORTRAN

unread,
Dec 21, 1990, 10:42:16 AM12/21/90
to
In article <27575.2...@kuhub.cc.ukans.edu>, arr...@kuhub.cc.ukans.edu asks
for "plain-vanilla f77" sources for cubic spline interpolation.

Doctor FORTRAN is happy to recommend the excellent collection of routines from
Carl deBoor's _Practical_Guide_to_Splines_. I understand that it is available
from netlib, with the name "pppack" (the first two ps in the name derive from
"piecewise polynomial). You can get a brief description of the routines in this
package by sending a one line e-mail message ("send index from pppack") to one
of the netlib sites. You will be sending mail to a machine, so try to avoid
getting tricky. General information on netlib may be obtained by sending the
line "send index".

For folks in the US, the best location is probably AT&T Bell Labs in Murray
Hill, New Jersey. The preferred address is "net...@research.att.com".

I have used this package on DEC VAX/VMS, IBM PC, and even an old Apollo DN560
workstation. I have had no complaints. As far as documentation goes, well, I
imagine the idea is that you purchase a copy of deBoor's book. I don't know if
it is still in print, but it is in many academic libraries. The publisher is
Springer-Verlag, if my memory is correct.

C ==========================================================================

C === This subroutine will write a signature at the end of a posting.

Subroutine Signature
Write (*, 101)
101 Format (1H1, 'Doctor FORTRAN', /, ' Master of the Realm', /,
1 ' Reply: jav...@ritvax.isc.rit.edu')

Return
End

0 new messages