#5413: [with patch, needs review] deprecate substitution via __call__ w/ unnamed
arguments
----------------------+-----------------------------------------------------
 Reporter:  cwitty    |       Owner:  burcin    
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-3.4.1
Component:  calculus  |    Keywords:            
----------------------+-----------------------------------------------------

Comment(by burcin):

 Thanks for working on this Carl.

 I only read the patch, didn't test it yet. Explicitly having to use
 .function() in two places bothers me:

  * for each component of Piecewise
  * in the call to generate_plot_points

 Perhaps we should modify these to handle non function arguments more
 gracefully after this change.

 I understand that this might require a new syntax to construct Piecewise
 objects. One option is to add a new parameter, which includes an ordered
 list of variables. E.g.,

 {{{
     sage: Piecewise([[(0,1),x^2],[(1,2),5-x^2]] ,[x])
 }}}
 or
 {{{
     sage: f = Piecewise([[(-1,1),1/2+x-x^3 + y]],[x,y])
 }}}

 Comments?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5413#comment:6>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to