This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

PartitionMap

PartitionMap[f, list, n]
applies f to list after partitioning into nonoverlapping sublists of length n.
PartitionMap[f, list, n, d]
applies f to sublists obtained by partitioning with offset d.
PartitionMap[f, list, {n1, n2, ...}]
applies f after partitioning a nested list into blocks of size n1×n2×....
PartitionMap[f, list, {n1, n2, ...}, {d1, d2, ...}]
applies f after partitioning using offset di at level i.
PartitionMap[f, list, n, d, {kL, kR}]
specifies where sublists should begin and end.
PartitionMap[f, list, n, d, {kL, kR}, padding]
specifies what padding should be used.
  • PartitionMap[f, list, n, ...] is equivalent to Map[f, Partition[list, n, ...]].
  • PartitionMap[f, list, {n1, n2, ..., nd}, ...] is equivalent to Map[f, Partition[list, n, ...], {d}].