Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Re: Working with arrays

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131241] Re: Working with arrays
  • From: collabe <collabe2013 at gmail.com>
  • Date: Thu, 20 Jun 2013 04:46:32 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

If A = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
xtest = {4, 5, 6};
lA\[CenterDot]xtest (* First case *)
{{a, b}, {c, d}} . {x, y} (* Second case *)

The output is:

{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}\[CenterDot]{4, 5, 6}

{a x + b y, c x + d y}



  • Prev by Date: Re: How does one get data out of a TemporalData object?
  • Next by Date: Re: How to remove the "0." from "0. + 1.41774i"
  • Previous by thread: Re: Working with arrays
  • Next by thread: Re: Using Mathematica