Is there any simple way to apply a function Foo to multiple arrays (matrices) A,B,C, besides creating a bigger array?
Essentially I want something similar to "map" in Python, like:
L = [A, B, C] map(foo, L)
Let's assume to cases, 1. the function Foo is applied component-wise, does not change the dimension of the matrix, for example, log(), exp(). 2. Function is a general function,working on the whole matrix, for example, removerows().