This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Cubic spline interpolation.
- From: Andrea Riciputi <ariciputi at pito dot com>
- To: Gnu Scientific Library <gsl-discuss at sources dot redhat dot com>
- Date: Fri, 16 Jan 2004 17:45:14 +0100
- Subject: Cubic spline interpolation.
Hi,
I need the coeficient of a cubic spline interpolation. How can I get
them out of the GSL structure after the usuals:
gsl_interp_accel *acc
= gsl_interp_accel_alloc ();
gsl_spline *spline
= gsl_spline_alloc (gsl_interp_cspline, 10);
gsl_spline_init (spline, x, y, 10);
calls?? I've poked around the GSL code and I know they are within the
"spline" structure but I can't realize where.
Thanks in advance,
Andrea.
---
Andrea Riciputi
"Science is like sex: sometimes something useful comes out,
but that is not the reason we are doing it" -- (Richard Feynman)