DOCUMENTATION CENTER SEARCH
Mathematica
>
Applying Functions to Lists
>
Built-in
Mathematica
Symbol
Applying Functions to Parts of Expressions
Tutorials »
|
Apply
Map
Thread
Inner
Transpose
Through
See Also »
|
Applying Functions to Lists
Functional Programming
List Manipulation
More About »
MapThread
MapThread
[
f
, {{
a
1
,
a
2
,
...
}, {
b
1
,
b
2
,
...
},
...
}]
gives
{
f
[
a
1
,
b
1
,
...
],
f
[
a
2
,
b
2
,
...
],
...
}
.
MapThread
[
f
, {
expr
1
,
expr
2
,
...
},
n
]
applies
f
to the parts of the
expr
i
at level
n
.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Apply
f
to corresponding pairs of elements:
In[1]:=
Out[1]=
Apply
f
to elements of a matrix:
In[1]:=
Out[1]=
Scope
(1)
Generalizations & Extensions
(1)
Applications
(3)
Properties & Relations
(5)
Possible Issues
(2)
SEE ALSO
Apply
Map
Thread
Inner
Transpose
Through
TUTORIALS
Applying Functions to Parts of Expressions
MORE ABOUT
Applying Functions to Lists
Functional Programming
List Manipulation
New in 2
© 2008 Wolfram Research, Inc.