|
From: | Paolo Franzetti |
Subject: | Re: [Help-gsl] Spline coefficients |
Date: | Wed, 03 Oct 2007 10:46:24 +0200 |
User-agent: | Thunderbird 2.0.0.6 (X11/20070728) |
Patrick Alken wrote:
Hi, Using that example program, you could write the coefficients to a file such as: gsl_vector_fprintf(file_p, c, "%.12e"); where the coefficients are stored in 'c'. If you want to later use the function gsl_multifit_linear_est you will also need to store the matrix 'cov' and read it back later. However 'cov' is primarly used for computing the error in the model so if you only want the model value you don't need that matrix. Look at the source for gsl_multifit_linear_est for more info.
It works fine. Thank you!
[Prev in Thread] | Current Thread | [Next in Thread] |