strange behavior with Map
- To: mathgroup at smc.vnet.net
- Subject: [mg116381] strange behavior with Map
- From: Robert Rosenbaum <robertr at math.uh.edu>
- Date: Sat, 12 Feb 2011 05:20:54 -0500 (EST)
This doesn't seem right: In[181]:= Map[Function[x, 2], {{1, 2}, {1, 2}}, 2] Out[181]= {2, 2} In[180]:= Map[Function[x, 0 x + 2], {{1, 2}, {1, 2}}, 2] Out[180]= {{2, 2}, {2, 2}} Best, Robert
- Follow-Ups:
- Re: strange behavior with Map
- From: Leonid Shifrin <lshifr@gmail.com>
- Re: strange behavior with Map