#4677: Plotting lambda functions
----------------------+-----------------------------------------------------
Reporter: kcrisman | Owner: was
Type: defect | Status: new
Priority: minor | Milestone: sage-3.2.2
Component: graphics | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by jason):
Sure, it probably shouldn't work:
{{{
sage: f=x^2
sage: a=lambda x: f
sage: a(2)
x^2
}}}
plot expects that when it feeds "a" a number (like a(2)), a number should
be returned. Instead, a function is returned.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4677#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---