At Fri, 27 Mar 2009 00:25:28 +0000, Michael Ng wrote: > > Dear gurus, > I am using the following function to get interpolation points in a > 3D surface. I am doing it for the sake of finding the intersection line > between two surfaces: > > gsl_spline_eval(spline, x, acc); > > Unfortunately, the abave line failed to work when the data 'x' is a > constant, since it is from a flat surface. I understand that x has to be > in ascending order, but I hope to find a quick fix when x is a constant...
As you say x must be increasing, so the only way is to remove any equal points before doing the interpolation. -- Brian Gough (GSL Maintainer) Support freedom by joining the FSF! http://www.fsf.org/associate/support_freedom/join_fsf?referrer=37 _______________________________________________ Bug-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gsl
