Shorthand for MapThread
- To: mathgroup at smc.vnet.net
- Subject: [mg95015] Shorthand for MapThread
- From: "Schettler, Martin" <MSchettler at scitor.com>
- Date: Sat, 3 Jan 2009 05:54:46 -0500 (EST)
All -
I frequently use Map and MapThread, and find Map's shorthand:
f /@ {a,b,c}
to be very convenient.
As far as I can tell, MapThread has no corresponding "infix" notation.
Can anyone tell me if it's possible (and if so, how) to make my own?
E.g.
f[#1,#2]& /@@ {{a,b,c},{d,e,f}}
Thanks!
Marty
- Follow-Ups:
- Re: Shorthand for MapThread
- From: "Jose Luis Gomez" <jose.luis.gomez@itesm.mx>
- Re: Shorthand for MapThread