Changes between Initial Version and Version 3 of Ticket #4498
 Timestamp:
 11/12/08 17:13:16 (12 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #4498

Property
Milestone
changed from
sage3.2.1
tosagewishlist

Property
Type
changed from
defect
toenhancement

Property
Summary
changed from
The argument function does not work with variables.
toImplement a symbolic version of the arg function; the current one is only for actual numbers

Property
Milestone
changed from

Ticket #4498 – Description
initial v3 1 It would be nice if there were a symbolic arg function, just like the symbolic sin, cos, etc., functions. Then the following would happen: 2 3 {{{ 4 sage: f = arg(x); f 5 arg(x) 6 sage: f.subs(x=1+I) 7 arg(1+I) 8 }}} 9 10 Now we have 11 {{{ 12 sage: arg(1+I) 13 0.785398163397 14 sage: type(arg(1+I)) 15 <type 'sage.rings.real_double.RealDoubleElement'> 16 }}} 17 18 I.e., the arg in Sage is currently the numerical person's arg, not the symbolic person's. It just casts to CDF. 19 20 1 21 "The function should return the argument of a complex function."  Ronan Paixão