octave-maintainers
[Top][All Lists]
Advanced

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

Spline improvments


From: Marco Caliari
Subject: Spline improvments
Date: Mon, 15 Nov 2010 09:31:41 +0100 (CET)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

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

Attachment: spline.m.diff
Description: Text Data


reply via email to

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