Total
Usage
• Total[list] gives the total of the elements in list. • Total[list, n] totals all elements down to level n.
Notes
• 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. • New in Version 5.
|