Total

Total[list]
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

Introduced in 2003
(5.0)
| Updated in 2007
(6.0)