Re: symbolic calculations with complex numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg31970] Re: symbolic calculations with complex numbers
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 14 Dec 2001 16:52:58 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <9vccvd$359$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Abs[p + I q] /. Abs[a_] :> Sqrt[Re[a]^2 + Im[a]^2] // FullSimplify[#, Element[{p, q}, Reals]] & it is not a simplification but you simply force it by a rule. Regards Jens Roberto Dinapoli wrote: > > Hello, > I've a problem: is there a way to convince mathematica to do symbolic > calculations and simplifications taking all symbolic variables as real? > example: > Abs[p+ I q] is not evaluated, I'd like to see : sqrt[ sqr[p]+sqr[q] ]... > > for all the calculations I have to do it's really important. > > Thanks a lot > Roberto