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