#7512: fast_callable should respect the variable order in callable symbolic
expressions (treating them like lambda functions rather than like
expressions)
-------------------------------------------------------+--------------------
Reporter: jason | Owner: was
Type: defect | Status:
needs_review
Priority: major | Milestone:
sage-4.3.4
Component: graphics | Keywords:
Author: Robert Bradshaw, Tim Dumol, Jason Grout | Upstream: N/A
Reviewer: Ross Kyprianou | Merged:
Work_issues: |
-------------------------------------------------------+--------------------
Changes (by rossk):
* reviewer: => Ross Kyprianou
Comment:
Played with some examples and can see that the examples below act like
lambda functions now (regardless of variable name or variable order or
function format - all plots came out the same as expected). Hope that
helps speed up the review (someone will still have to do the code review)
{{{
var('x y v w')
def f(x,y):
return x*sin(y)
g(x,y)=x*sin(y)
plot3d(f, (x,0,3), (y,-6,6), viewer='tachyon')
plot3d(f, (y,0,3), (x,-6,6), viewer='tachyon')
plot3d(f, (v,0,3), (w,-6,6), viewer='tachyon')
plot3d(g, (x,0,3), (y,-6,6), viewer='tachyon')
plot3d(g, (y,0,3), (x,-6,6), viewer='tachyon')
plot3d(g, (v,0,3), (w,-6,6), viewer='tachyon')
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7512#comment:9>
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.