MapInstead of using listability you can use Map to apply a function to every element in a matrix. In[1]:=  |
This says that the function f should be applied to every element in the matrix. In[2]:=  |
Out[2]=
|
Here, a function that squares its argument and divides the result by 3 is applied to every element in the matrix. In[3]:=  |
Out[3]=
|
More information on Mathematica programming can be found in The Mathematica Book.
|