Total[list] gives the total of the elements in list.
Total[list, n] totals all elements down to level n.
Total[list] is equivalent to Apply[Plus, list].
Total[f[, , ... ], 1] gives the sum of the for any head f.
Total is defined so that Total[, , ... , , , ... , ... ] gives Total[, , ... ], Total[, , ... ].
Total[list, Method->"CompensatedSummation"] uses compensated summation to reduce numerical error in the result.
Total works with SparseArray objects.
See Section 1.6.7 and Section 3.8.1.
See also: Plus, Tr, Mean, Count, Norm, Sum, Max.
New in Version 5.0.