matrix:map
matrix:map anonymous reporter matrix matrix:map anonymous reporter matrix anything
Reports a new matrix which results from applying reporter (an anonymous reporter or the name of a reporter) to each of the elements of the given matrix. For example,
matrix:map sqrt matrix
would take the square root of each element of matrix. If more than one matrix argument is provided, the reporter is given the elements of each matrix as arguments. Thus,
(matrix:map + matrix1 matrix2)
would add matrix1 and matrix2.
This reporter is meant to be the same as map
, but for matrices instead of lists.
Take me to the full Matrix Extension Dictionary