#4498: Implement a symbolic version of the arg function; the current one is only
for actual numbers
------------------------------+---------------------------------------------
 Reporter:  TimothyClemans    |        Owner:  somebody     
     Type:  enhancement       |       Status:  new          
 Priority:  major             |    Milestone:  sage-wishlist
Component:  basic arithmetic  |   Resolution:               
 Keywords:                    |  
------------------------------+---------------------------------------------
Changes (by was):

  * summary:  The argument function does not work with variables. =>
              Implement a symbolic version of the arg
              function; the current one is only for actual
              numbers
  * type:  defect => enhancement
  * milestone:  sage-3.2.1 => sage-wishlist

Old description:

> "The function should return the argument of a complex function." - Ronan
> Paixão

New description:

 It would be nice if there were a symbolic arg function, just like the
 symbolic sin, cos, etc., functions.  Then the following would happen:

 {{{
 sage: f = arg(x); f
 arg(x)
 sage: f.subs(x=1+I)
 arg(1+I)
 }}}

 Now we have
 {{{
 sage: arg(1+I)
 0.785398163397
 sage: type(arg(1+I))
 <type 'sage.rings.real_double.RealDoubleElement'>
 }}}

 I.e., the arg in Sage is currently the numerical person's arg, not the
 symbolic person's.  It just casts to CDF.


 "The function should return the argument of a complex function." - Ronan
 Paixão

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