/* for lists or sets */
map(sin, [1, 2, 3, 4]);
map(sin, {1, 2, 3, 4});
/* for matrices */
matrixmap(sin, matrix([1, 2], [2, 4]));