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 n1 through n2.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Total the values in a list:

In[1]:=
Click for copyable input
Out[1]=

Scope  (6)

Generalizations & Extensions  (1)

Options  (1)

Applications  (3)

Properties & Relations  (2)

See Also

Plus  Accumulate  Tr  Mean  Count  Norm  Sum  Max

Tutorials

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