Get Math Help

GET TUTORING NEAR ME!

By submitting the following form, you agree to Club Z!'s Terms of Use and Privacy Policy

    Total Function

    Usage

    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.

    Basic example

    Total the values in a list:
In[1]:=Total[{a, b, c, d}]
Out[1]=a + b + c + d

    Options

    AllowedHeads | Method

    Common option value

    Method | "CompensatedSummation"

    Attribute

    Protected

    Relationships with other entities

    Plus | Accumulate | Tr | Mean | Count | Norm | Sum | Max | SparseArray

    Relationships with other entities

    Typical ranks of usage in programs

    151st most common (1 in 3650 symbols)

    213th most common (1 in 3690 symbols)

    139th most common (1 in 1770 symbols)

    History

    introduced in Version 5 (June 2003)
last modified in Version 12 (April 2019)

    Timeline

    Timeline

    Find the right fit or it’s free.

    We guarantee you’ll find the right tutor, or we’ll cover the first hour of your lesson.