Re: removing parethesis

2010-04-13 Thread Michael Kohl
On Tue, Apr 13, 2010 at 4:48 AM, Glen Rubin rubing...@gmail.com wrote: I want to create an average sequence such that all of the first elements are averaged, all of the second elements, etc Sounds like you want a traspose function. Here you go: (defn transpose [m] (apply map list m))

Re: removing parethesis

2010-04-13 Thread Michael Kohl
On Tue, Apr 13, 2010 at 10:09 AM, Michael Kohl citizen...@gmail.com wrote: Disclaimer: I have not had my morning coffee yet And I apparently missed a mail in this thread, (apply map +) was already posted an is a lot more straightforward. -- You received this message because you are subscribed

removing parethesis

2010-04-12 Thread Glen Rubin
I am working with a collection of integer sequences ...(e.g. coll: ((3 7 3 5 9 2 0 8 4 0 1 2323 4 11...) (243 4 664 478 3948...) (6 3 7 4 3335 2 4 5 7 6...)...) I want to create an average sequence such that all of the first elements are averaged, all of the second elements, etc However, I

Re: removing parethesis

2010-04-12 Thread Douglas Philips
On 2010 Apr 12, at 10:48 PM, Glen Rubin wrote: I am working with a collection of integer sequences ...(e.g. coll: ((3 7 3 5 9 2 0 8 4 0 1 2323 4 11...) (243 4 664 478 3948...) (6 3 7 4 3335 2 4 5 7 6...)...) I want to create an average sequence such that all of the first elements are averaged,

Re: removing parethesis

2010-04-12 Thread Alan Busby
On Tue, Apr 13, 2010 at 11:54 AM, Douglas Philips d...@mac.com wrote: On 2010 Apr 12, at 10:48 PM, Glen Rubin wrote: I am working with a collection of integer sequences ...(e.g. coll: ((3 7 3 5 9 2 0 8 4 0 1 2323 4 11...) (243 4 664 478 3948...) (6 3 7 4 3335 2 4 5 7 6...)...) I want to

Re: removing parethesis

2010-04-12 Thread Mark J. Reed
On Mon, Apr 12, 2010 at 11:15 PM, Alan Busby thebu...@gmail.com wrote: On Tue, Apr 13, 2010 at 11:54 AM, Douglas Philips d...@mac.com wrote: On 2010 Apr 12, at 10:48 PM, Glen Rubin wrote: I am working with a collection of integer sequences ...(e.g. coll: ((3 7 3 5 9 2 0 8 4 0 1 2323 4