#11202: Add inverse method to symbolic expressions
-----------------------------------------------------+----------------------
       Reporter:  ltw                                |         Owner:  tba      
   
           Type:  enhancement                        |        Status:  
needs_review
       Priority:  minor                              |     Milestone:  sage-5.3 
   
      Component:  symbolics                          |    Resolution:           
   
       Keywords:  InverseFunction, inverse function  |   Work issues:           
   
Report Upstream:  N/A                                |     Reviewers:           
   
        Authors:  Eviatar Bach                       |     Merged in:           
   
   Dependencies:                                     |      Stopgaps:           
   
-----------------------------------------------------+----------------------

Comment (by tkluck):

 I've taken a look at your patch (haven't tried it yet). It looks like good
 work! Here's some feedback:

 {{{
 if not with_respect_to:
   raise TypeError('You must specify with respect to which \
         variable to take the inverse.')
 }}}
 I would test for
 {{{
 if with_respect_to == None or not with_respect_to.is_symbol():
 }}}
 I also think that a `ValueError` is more appropriate than a `TypeError`.

 Also, it would be a nice enhancement if something like this would work:
 {{{
 sage: f(x) = log(x)
 sage: f
 x |--> log(x)
 sage: inverse(f)
 x |--> exp(x)
 }}}
 (or does it?)

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

Reply via email to