MathGroup Archive 2004

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

Search the Archive

Re: "+ -" in an output line?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52289] Re: [mg52275] "+ -" in an output line?
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sun, 21 Nov 2004 07:23:25 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

It's an actual formatting bug in Series. WRI ought to fix it. In the
meantime you have to think of it as +(-I q s).

It goes away if you use Normal.

Series[-I q s - I p Sqrt[K1^2 - s^2], {s, 0, 1}]
% // Normal

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: AES/newspost [mailto:siegman at stanford.edu]
To: mathgroup at smc.vnet.net

The input

    In[13]:=
    Series[-I q s - I p Sqrt[K1^2 - s^2], {s, 0, 1}]

gives

    Out[13]=
    -I Sqrt[K1^2] p + - I q s + O[s^2]

whereas

    In[14]:=
    Series[-I q s - I p Sqrt[K1^2 - s^2], {s, 0, 1}] // Normal

gives

    Out[14]=
    -I Sqrt[K1^2] p - I q s

What's that "+ -" doing in Out[13] ?  Is this normal?




  • Prev by Date: 5.1 symbols for transpose, conjugate, conjugate transpose don't display
  • Next by Date: famous feather map
  • Previous by thread: Re: "+ -" in an output line?
  • Next by thread: Difference between scalar and vector inequality!