- Visualize a block matrix
mat
MatrixForm[{Grid[Map[Grid, mat, {2}], Dividers -> Center]}]
- In prototyping, you may use something like
where
expr[#]&/@list
expr[#]
merely stands for an expression containing#
. If you don't need the pure functionexpr[#]&
else where, you may rewrite this asThis will remove an overhead from pure function calling.Table[expr[elem], {elem, list}]