Re: Apply a function to parts of a list
- To: mathgroup at smc.vnet.net
- Subject: [mg110534] Re: Apply a function to parts of a list
- From: Peter Pein <petsie at dordos.net>
- Date: Wed, 23 Jun 2010 01:54:41 -0400 (EDT)
- References: <hv23tv$5h0$1@smc.vnet.net>
Am Sun, 13 Jun 2010 08:12:47 +0000 (UTC) schrieb Bob Hanlon <hanlonr at cox.net>: > > data = Thread[Array[#, 3] & /@ {x, y}] > ... > {1, 1/2} # & /@ data > data.{{1,0},{0,1/2}} is another simple solution to Rui's problem > > > Bob Hanlon >