Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: matrix times a vector

  • To: mathgroup at
  • Subject: [mg49065] Re: [mg49002] matrix times a vector
  • From: Gianluca Gorni <gorni at>
  • Date: Wed, 30 Jun 2004 05:34:12 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

This seems to work in your example:

Transpose[{{a, b}, {c, d}}].{x, y}

Best regards,

             Gianluca Gorni

> On Jun 28, 2004, at 4:13 AM, David Salomon wrote:
>> Question:
>> The input {{a,b}, {c,d}}.{x,y} generates the output {a x+b y,c
>> x+d y}.
>> How can I get the output x{a,b}+y{c,d}  ?
>> This is a special case of lists with two elements. How
>> can I extend this computation in an elegant way to lists
>> with N elements?

  • Prev by Date: function IF with several equality conditions
  • Next by Date: Re: Simple question
  • Previous by thread: RE: matrix times a vector
  • Next by thread: AW: more question about plotting