MathGroup Archive 2001

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

Search the Archive

Re: symbolic calculations with complex numbers


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