Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Summing items in a list' topicStudent Support Forum > General > "Summing items in a list"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Alvin
09/27/05 7:48pm

F.Y.I.

Total@{1, 2, 3}
{1, 2, 3} // Total
Plus @@ {1, 2, 3}
Apply[Plus, {1, 2, 3}]
Plus~Apply~{1, 2, 3}
Fold[Plus, 0, {1, 2, 3}]

gives the same result

URL: ,

Subject (listing for 'Summing items in a list')
Author Date Posted
Summing items in a list Luke 09/14/05 9:52pm
Re: Summing items in a list Daniele Lupo 09/17/05 02:44am
Re: Summing items in a list yehuda ben-s... 09/17/05 11:25am
Re: Summing items in a list Alvin 09/27/05 7:48pm
< Previous CommentHelp | Reply To Comment | Reply To Topic