Qurak

BlockMap

Disponible

Applies a function to consecutive blocks of a list.

BlockMap[f, list, n]
BlockMap[f, list, n, d]
BlockMap[f, list, {n1, n2, …}, …]
BlockMap[f, Range[6], 2] → {f[{1, 2}], f[{3, 4}], f[{5, 6}]}

Temas

Relacionadas

Las 6300 funciones · Usar esto desde un cliente MCP