Re: # question
- To: mathgroup at smc.vnet.net
- Subject: [mg60252] Re: # question
- From: Peter Pein <petsie at dordos.net>
- Date: Thu, 8 Sep 2005 06:37:18 -0400 (EDT)
- References: <dfov7c$f8t$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
ekantian schrieb:
> how do i manage overlapping #?
>
> i.e.
>
> Map[
> Select[{2, 3, 6, 1, 0}, # < # &],
> {2, 5, 3}]
>
>
> which i would like to return {{1,0},{2,3,1,0},{2,1,0}}
>
> thx.
>
In[1]:=
Map[Select[{2, 3, 6, 1, 0},
Function[compare, compare < #]]&, {2, 5, 3}]
Out[1]={{1, 0}, {2, 3, 1, 0}, {2, 1, 0}}
--
Peter Pein, Berlin
GnuPG Key ID: 0xA34C5A82
http://people.freenet.de/Peter_Berlin/