Vector addition of lists

Posted by ntimes on Stack Overflow See other posts from Stack Overflow or by ntimes
Published on 2010-03-15T15:20:39Z Indexed on 2010/03/15 19:49 UTC
Read the original article Hit count: 369

Filed under:
|
|

If I had a N lists each of length M, how could I write a nice clean function to return a single list of length M, where each element is the sum of the corresponding elements in the N lists?

(starting to learn lisp - go easy!)

© Stack Overflow or respective owner

Related posts about lisp

Related posts about Scheme