Listable
Listable
is an attribute that calls for functions to automatically map over lists.
Attributes[Listable] := {Protected}
Simple examples
In[1]:= Boole[{True, True, True, False}] Out[1]= {1, 1, 1, 0}
In[2]:= Positive[{-1, 4, 5}] Out[2]= {False, True, True}
In[3]:= Positive[{{-1, 4, 5}}] Out[3]= {{False, True, True}}
In[4]:= Positive[{{-1, 4, 5}, {6, -1}}] Out[4]= {{False, True, True}, {True, False}}