gives the total of the elements in list.

Total[list, n]
totals all elements down to level n.

Total[list, {n}]
totals elements at level n.

Total[list, {n1, n2}]
totals elements at levels through .

Details and OptionsDetails and Options

New in 5 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »