PRODUCTS
Mathematica
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Certified Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Wolfram Blog
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Core Language
>
Expressions
>
Parts of Expressions
>
Built-in
Mathematica
Symbol
Applying Functions to Parts of Expressions
Working with Operators
Tutorials »
|
Map
ExpandAll
ReplaceAll
MapAt
See Also »
|
Functional Programming
Parts of Expressions
More About »
MapAll
(//@)
MapAll
[
f
,
expr
]
or
f
//@
expr
applies
f
to every subexpression in
expr
.
MORE INFORMATION
MapAll
[
f
,
expr
]
is equivalent to
Map
[
f
,
expr
, {0,
Infinity
}]
.
MapAll
[
f
,
expr
,
Heads
->
True
]
applies
f
to heads in
expr
, and their parts.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Apply
f
to every subpart of an expression:
In[1]:=
Out[1]=
Alternative input form:
In[1]:=
Out[1]=
Generalizations & Extensions
(3)
Options
(1)
Applications
(1)
Properties & Relations
(3)
SEE ALSO
Map
ExpandAll
ReplaceAll
MapAt
TUTORIALS
Applying Functions to Parts of Expressions
Working with Operators
MORE ABOUT
Functional Programming
Parts of Expressions
New in 1
© 2008 Wolfram Research, Inc.