Re: Shorthand for MapThread
- To: mathgroup at smc.vnet.net
- Subject: [mg95041] Re: Shorthand for MapThread
- From: yatesd at mac.com
- Date: Sun, 4 Jan 2009 07:32:26 -0500 (EST)
- References: <gjng5h$2kj$1@smc.vnet.net>
I don't believe there is one, other than f~MapThread~{{a,b,c}, {d,e,f}}, but I often use the following instead: f@@@Thread[{{a,b,c}, {d,e,f}} or f@@@Transpose[{{a,b,c},{d,e,f}}]. f@@@exp is shorthand for Apply[f,exp,{1}]. Sometimes your data is naturally already in the right format and so you can use f@@@data without the Thread or Transpose. Regards, Derek