GET TUTORING NEAR ME!

By providing your phone number, you consent to receive text messages from Club Z! for purposes related to our services. Message frequency may vary. Message and Data Rates may apply. Reply HELP for help or STOP to unsubscribe. See our Privacy Policy and our Terms and Conditions page

    Home / Get Math Help

    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

    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