octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spline improvments


From: Ben Abbott
Subject: Re: Spline improvments
Date: Tue, 16 Nov 2010 02:02:26 +0300

On Nov 15, 2010, at 11:31 AM, Marco Caliari wrote:

> Dear maintainers,
> 
> I would like to submit the enclosed patch over the development version of 
> spline.m, doing the following:
> 
> *) if length (x) == 3, the result is the unique polynomial of degree 2 
> instead of a polynomial of degree 3 with the first coefficient set to zero.
> 
> *) if length (x) == 2, the result is the unique polynomial of degree 1, or 
> the unique polynomial of degree 3 if a complete spline is required.
> 
> *) it manages the case x not sorted (by sorting it).
> 
> The Changelog could be
> 
> 2010-11-15  Marco Caliari  <address@hidden>
> 
>       * spline.m:  Allow length (x) == 2 and x not sorted.
> 
> Best regards,
> 
> Marco<spline.m.diff>

I ran the tests and demo. The results look good to me.

I've also converted your diff to a changeset. I'll give others a day or so to 
look it over. If there are no suggested changes I'll push it.

Ben

Attachment: changeset.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]