Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15983 > unrolled thread
| Started by | Robert Rosenbaum <robertr@math.uh.edu> |
|---|---|
| First post | 2011-02-12 10:20 +0000 |
| Last post | 2011-02-12 10:20 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
strange behavior with Map Robert Rosenbaum <robertr@math.uh.edu> - 2011-02-12 10:20 +0000
| From | Robert Rosenbaum <robertr@math.uh.edu> |
|---|---|
| Date | 2011-02-12 10:20 +0000 |
| Subject | strange behavior with Map |
| Message-ID | <ij5mtu$jmg$1@smc.vnet.net> |
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
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web