Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: ShowProgress in NonlinearFit
  • Next by Date: Re: Preserve subscripts like integers using N
  • Previous by thread: Re: symbolic calculations with complex numbers
  • Next by thread: Re: symbolic calculations with complex numbers