Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15983 > unrolled thread

strange behavior with Map

Started byRobert Rosenbaum <robertr@math.uh.edu>
First post2011-02-12 10:20 +0000
Last post2011-02-12 10:20 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  strange behavior with Map Robert Rosenbaum <robertr@math.uh.edu> - 2011-02-12 10:20 +0000

#15983 — strange behavior with Map

FromRobert Rosenbaum <robertr@math.uh.edu>
Date2011-02-12 10:20 +0000
Subjectstrange 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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web