commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject Re: [math] SplineInterpolator not working properly
Date Thu, 22 Aug 2013 21:08:10 GMT
On Thu, 22 Aug 2013 17:02:34 +0200, Nico Caprioli wrote:
> Since I need a spline interpolation I used your library do calculate 
> it but
> it seems it is not working good.
>
> If I understood javadoc i need two double[] arrays:
> - double[] x: the absissa of every point
> - double[] y: the ordinate/value of points in the same order of x
>
> Now after interpolation I try to print it through:
> System.out.println(Arrays.toString(interpolation.getPolynomials()));
> where interpolation is the PolynomialSplineFunction generated.
>
> It outputs some functions but only the first is correct, why?
>
> Thank you!

 From the above information, it is hard to figure out what you did,
what you expected and what you got.
Please attach a minimal, but working, code example.

Regards,
Gilles


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message