Mathematica 9 is now available
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: [mg49349] Re: Tr vs Total
  • From: BobHanlon at aol.com
  • Date: Fri, 16 Jul 2004 06:06:32 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

$Version


5.0 for Mac OS X (November 19, 2003)


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


True


Bob Hanlon

> In a message dated Thu, 15 Jul 2004 11:17:18 +0000 (UTC), <
> dreeves at umich.edu> writes:  Tr seems to have a problem with big lists.   Anyone 
> know why the following 
> 2 expressions don't yield the same result?
> 
> Tr[Table[8000000, {269}]]
> 
> Total[Table[8000000, {269}]]
> 
> (they do if you make either of those constants smaller)
> 


  • Prev by Date: Re: Tr vs Total
  • Next by Date: Re: Sum of list elements
  • Previous by thread: Re: Tr vs Total
  • Next by thread: Re: Re: Tr vs Total