Thanks, I made the change.

Chris

On Wed, Nov 20, 2019 at 11:15 AM Mario C <mc235...@gmail.com> wrote:

> I think there is a mistake in verb cubicspline (spline addon) for intervals
> different than 1.0.
>
> If you try an interval of 0.1:
>
> load 'math/misc/spline plot numeric'
> x=. 1.1 1.2 1.3 1.4 1.5
> y=. 351.6 351.6 354.6 371.0 387.7
> csp=. cubicspline x,:y
> plot csp interspline range 1.1 1.5 0.02
>
> you see the problem.
>
> It works after removal of the square verb in line 16 of spline.ijs (verb
> cubicspline).
> line 16 old: w=. 3 * diff k % *: h
> line 16 new: w=. 3 * diff k % h
>
> Regards,
> Mario
> (j901beta-p j9.01.13 win64)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to