#19312: Update to pynac-0.5.0
-------------------------------------+-------------------------------------
Reporter: rws | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.10
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers:
Authors: Ralf Stephan | Work issues:
Report Upstream: N/A | Commit:
Branch: u/rws/19312-2 | dfb2ba3790253582ca7ec2e5eb6ce3c2aadbe798
Dependencies: #19606 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
I also don't get the following doctest changes:
{{{
#!diff
@@ -1148,7 +1148,8 @@ def desolve_rk4(de, dvar, ics=None, ivar=None,
end_points=None, step=0.1, output
Variant 2 for input - more common in numerics::
- sage: x,y=var('x y')
+ sage: _ = var('x,y')
+ sage: f = function('f')(x)
sage: desolve_rk4(x*y*(2-y),y,ics=[0,1],end_points=1,step=0.5)
[[0, 1], [0.5, 1.12419127424558], [1.0, 1.461590162288825]]
@@ -1156,15 +1157,13 @@ def desolve_rk4(de, dvar, ics=None, ivar=None,
end_points=None, step=0.1, output
desolve function In this example we integrate bakwards, since
``end_points < ics[0]``::
- sage: y=function('y')(x)
- sage: desolve_rk4(diff(y,x)+y*(y-1) == x-2,y,ics=[1,1],step=0.5,
end_points=0)
+ sage: desolve_rk4(diff(f,x)+f*(f-1) == x-2,f,ics=[1,1],step=0.5,
end_points=0)
[[0.0, 8.904257108962112], [0.5, 1.909327945361535], [1, 1]]
Here we show how to plot simple pictures. For more advanced
aplications use list_plot instead. To see the resulting picture
use ``show(P)`` in Sage notebook. ::
- sage: x,y=var('x y')
sage:
P=desolve_rk4(y*(2-y),y,ics=[0,.1],ivar=x,output='slope_field',end_points=[-4,6],thickness=3)
ALGORITHM:
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19312#comment:30>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.