#13520: Derivative/integral of cubic splines in sage/gsl/interpolation.pyx
---------------------------------------+------------------------------------
Reporter: jvkersch | Owner: jason, jkantor
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.4
Component: numerical | Resolution:
Keywords: spline, gsl | Work issues:
Report Upstream: N/A | Reviewers: Travis Scrimshaw
Authors: Joris Vankerschaver | Merged in:
Dependencies: #13519 | Stopgaps:
---------------------------------------+------------------------------------
Changes (by tscrim):
* status: needs_review => needs_work
* reviewer: => Travis Scrimshaw
Comment:
I get some precision errors:
{{{
**********************************************************************
File "/home/travis/sage-5.4.beta1/devel/sage-
reviews/sage/gsl/interpolation.pyx", line 77:
sage: s.derivative(5)
Expected:
-0.16230085261803096
Got:
-0.16230085261803057
**********************************************************************
File "/home/travis/sage-5.4.beta1/devel/sage-
reviews/sage/gsl/interpolation.pyx", line 79:
sage: s.derivative(6)
Expected:
0.20997986285714798
Got:
0.20997986285714818
**********************************************************************
File "/home/travis/sage-5.4.beta1/devel/sage-
reviews/sage/gsl/interpolation.pyx", line 81:
sage: s.derivative(5, order=2)
Expected:
-3.0874707456138095
Got:
-3.0874707456138086
**********************************************************************
}}}
I am running the tests on Ubuntu 10.04 on a !VirtualBox VM with a host of
Intel Core Duo T6400, with a 64-bit Vista OS.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13520#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.