gives {f[a1,b1,],f[a2,b2,],}.


applies f to the parts of the expri at level n.


represents an operator form of MapThread that can be applied to an expression.



open allclose all

Basic Examples  (4)

Apply f to corresponding pairs of elements:

Apply f to elements of a matrix:

Apply f to corresponding values of associations:

Use the operator form of MapThread:

Scope  (2)

By default, MapThread threads over level 1 of the arguments:

Thread over level 2:

MapThread works with any number of expressions:

Applications  (3)

Set up an outer totalistic cellular automaton:

Divide eigenvectors by their corresponding eigenvalues:

Apply the functions in a list to corresponding arguments:

Properties & Relations  (5)

Add columns of elements in a matrix:

Get lists of elements in columns of a matrix:

MapThread works like Thread, but takes the function and arguments separately:

Thread evaluates the whole expression before threading:

MapThread takes the function and its arguments separately:

MapThread is a generalization of Map to functions of several variables:

Possible Issues  (2)

All arguments must be lists of the same length:

Thread repeats nonlist arguments as needed:

MapThread combines associations in a list:

Use Apply to combine values of an association:

Wolfram Research (1991), MapThread, Wolfram Language function, (updated 2017).


Wolfram Research (1991), MapThread, Wolfram Language function, (updated 2017).


@misc{reference.wolfram_2021_mapthread, author="Wolfram Research", title="{MapThread}", year="2017", howpublished="\url{}", note=[Accessed: 17-June-2021 ]}


@online{reference.wolfram_2021_mapthread, organization={Wolfram Research}, title={MapThread}, year={2017}, url={}, note=[Accessed: 17-June-2021 ]}


Wolfram Language. 1991. "MapThread." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017.


Wolfram Language. (1991). MapThread. Wolfram Language & System Documentation Center. Retrieved from