#4498: Implement a symbolic version of the arg function
-----------------------------------+----------------------------------------
Reporter: TimothyClemans | Owner: somebody
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-wishlist
Component: symbolics | Keywords: beginner, sd35.5
Work_issues: | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Author: Karen T. Kohl
Merged: | Dependencies:
-----------------------------------+----------------------------------------
Comment(by kcrisman):
I think the Maxima translation may not be correct.
{{{
-- Function: carg (<z>)
Returns the complex argument of <z>. The complex argument is an
angle `theta' in `(-%pi, %pi]' such that `r exp (theta %i) = <z>'
where `r' is the magnitude of <z>.
`carg' is a computational function, not a simplifying function.
See also `abs' (complex magnitude), `polarform', `rectform',
`realpart', and `imagpart'.
Examples:
(%i1) carg (1);
(%o1) 0
(%i2) carg (1 + %i);
%pi
(%o2) ---
4
(%i3) carg (exp (%i));
(%o3) 1
(%i4) carg (exp (%pi * %i));
(%o4) %pi
(%i5) carg (exp (3/2 * %pi * %i));
%pi
(%o5) - ---
2
(%i6) carg (17 * exp (2 * %i));
(%o6) 2
(%o3) true
}}}
See also Barton Willis'
[http://maxima.sourceforge.net/docs/manual/en/maxima_80.html#Item_003a-
parg parg], though that only works if having loaded `to_poly_solve`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4498#comment:13>
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.