Re: Length of random index into list
- To: mathgroup at smc.vnet.net
- Subject: [mg74912] Re: Length of random index into list
- From: "bitRAKE" <bitRAKE at gmail.com>
- Date: Wed, 11 Apr 2007 01:54:46 -0400 (EDT)
- References: <evd3sk$5iv$1@smc.vnet.net><evfkrj$77f$1@smc.vnet.net>
On Apr 10, 2:19 am, Jean-Marc Gulliet <jeanmarc.gull... at gmail.com> wrote: > bitRAKE wrote: > > node = Length@Extract[s, indices] > > > How can this be done without using Extract? > > > Regards, > > bitRAKE > > Does > > node = Length /@ s > > fit your needs? > > Or > > node = Length[s[[indices]]] > > Regards, > Jean-Marc Found a strange solution... node=Length[s[[## & @@ indices]]] (c: