Re: operations with lists
- To: mathgroup at smc.vnet.net
- Subject: [mg4099] Re: operations with lists
- From: rhall2 at umbc.edu (hall robert)
- Date: Tue, 4 Jun 1996 02:18:10 -0400
- Organization: University of Maryland, Baltimore County
- Sender: owner-wri-mathgroup at wolfram.com
In article <4obgff$opu at dragonfly.wolfram.com>, Jonathan Lee <bobjon at gatewest.net> wrote: >2) is it possible to thread a compiled function over several lists. If you set the attributes of the function to listable, it will do it automatically. See The Book, p. 272 for an example. Otherwise, try MapThread[f, {list1, list2, ... , listn}] >3) is there any way to "intertwine" two lists? Transpose[list1, list2] // Flatten There's a lot of other ways, but that's fairly simple. -- Bob Hall | "Know thyself? Absurd direction! rhall2 at gl.umbc.edu | Bubbles bear no introspection." -Khushhal Khan Khatak ==== [MESSAGE SEPARATOR] ====