Re: How to add a vector to a list of vectors?
- To: mathgroup at smc.vnet.net
- Subject: [mg26536] Re: How to add a vector to a list of vectors?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 3 Jan 2001 04:08:51 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <92gt1g$kps@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, (w+#) & /@ l ??? Regards Jens AGUIRRE ESTIBALEZ Julian wrote: > > Dear Group, > > I have a list of vectors l = {v1,...,vn} and another vector w, all > of the same length. I wat to get the list {w + v1, ..., w + vn} . > > l + w does not work. > > Is there a simpler (or more efficient) way than > > Table[w + l[[i]],{i, Length@l}] ? > > Julian Aguirre > Universidad del Pais Vasco