MathGroup Archive 2001

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

Search the Archive

Re: Direct product of two matrices

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27769] Re: [mg27721] Direct product of two matrices
  • From: Ken Levasseur <Kenneth_Levasseur at uml.edu>
  • Date: Wed, 14 Mar 2001 04:07:14 -0500 (EST)
  • References: <200103130852.DAA26215@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Khanlari:

MapThread can be used to do what I think you want:

In[13]:=
a = {{x, y}, {z, w}};
b = {{s, t}, {u, q}};
MapThread[List, {a, b}, 2]
Out[15]=
{{{x, s}, {y, t}}, {{z, u}, {w, q}}}


Ken Levasseur
Math. Sciences
UMass Lowell

chinfo wrote:

> Dear friends,
> How can I calculate direct product of two matrices?
>
> Best regards,
> Khanlari
> E-mail : alikhus at yahoo.com



  • Prev by Date: Re: plot matrix
  • Next by Date: Mathematica Link for Word
  • Previous by thread: Direct product of two matrices
  • Next by thread: Re: Direct product of two matrices