MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: How can I transform the number of 123.456 into "123.456"?
  • Next by Date: Looking for Generalized SVD or C-S decomposition Mathematica code
  • Previous by thread: Re: Can I make this shape?
  • Next by thread: Re: How to add a vector to a list of vectors?