MathGroup Archive 2007

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

Search the Archive

Re: Sometimes <space> means multiple , sometimes not


On 4/25/07 at 5:27 AM, siewsk at bp.com wrote:

>As a newbie, I was taught that <space> character in Mathematica
>means multiple. But sometimes it does not.

>For example:

<examples snipped>

Mathematica allows spaces to be placed before or after any
operation. Consequently, a space is only interpreted as a
multiply when there is no other operator or other possible interpretation.

So, -4 -2 is the same as -4 - 2 or -4-2 and gives -6 but
     -4 (-2) will yield 8
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: ordering a large matrix and referring to the named rows later
  • Next by Date: Re: ordering a large matrix and referring to the named rows later
  • Previous by thread: Re: Sometimes <space> means multiple , sometimes not
  • Next by thread: Re: Sometimes <space> means multiple , sometimes not