Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Programming / Functional Programming /

Further Examples: Scan

Scan evaluates the result of applying a function to each element but does not construct a new expression.

In[1]:=

With the third argument set to Infinity, Scan visits the parts of an expression in a depth-first walk, with the leaves visited first.

In[2]:=



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.