Apply a callback to an array: Difference between revisions

Line 1,127:
All scalar mathematical functions are 'matrix-optimized' meaning that if the argument
to a function is a matrix, then the return value of the function is a matrix of the
same size as the input argument, where the function is applied to the individual entryentries
of the matrix.
Consider an example:
Anonymous user