Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

Re: Tr vs Total

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49409] Re: Tr vs Total
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Sun, 18 Jul 2004 08:09:19 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On 7/16/04 at 6:06 AM, BobHanlon at aol.com wrote:

>$Version

>5.0 for Mac OS X (November 19, 2003)

>Tr[Table[8000000, {269}]]==
>Total[Table[8000000, {269}]]==
>
>Plus@@Table[8000000, {269}]

>True

Interesting. It appears the problem exists only in certain versions, i.e.,

$Version

"5.0 for Mac OS X (June 10, 2003)"

Tr[Table[8000000, {269}]] === Total[Table[8000000, {269}]]

False

Total[Table[8000000, {269}]] === Plus@@Table[8000000, {269}]

True

I used "===" instead of "==" since my version of Mathematica leaves Tr[Table[8000000, {269}]] unevaluated
--
To reply via email subtract one hundred and four


  • Prev by Date: using file txt in mathematica
  • Next by Date: RE: Combining 2D graphs into a 3D graph
  • Previous by thread: Re: Re: Tr vs Total
  • Next by thread: importing image and getting numbers from the gray intensity