Mathematica 9 is now available
 Documentation /  Mathematica /  The Mathematica Book /  A Practical Introduction to Mathematica /  Lists /

Advanced Topic: Alignment and Padding in the Partitioning of ListsOrdering in Lists

1.8.12 Mathematical Operations on Lists

Section 2.2.3 will discuss in detail how to do mathematical operations on lists. Here are a couple of cases that often occur in practice; Section 2.2.3 will give many generalizations.

Simple mathematical operations on lists.

This adds all the elements in a list.

In[1]:= Apply[Plus, {a, b, c, d}]

Out[1]=

Advanced Topic: Alignment and Padding in the Partitioning of ListsOrdering in Lists



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.