Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Sometimes <space> means multiple , sometimes not

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75358] Re: Sometimes <space> means multiple , sometimes not
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Thu, 26 Apr 2007 03:34:53 -0400 (EDT)

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