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
- References:
- Direct product of two matrices
- From: "chinfo" <chinfo@sina.sharif.ac.ir>
- Direct product of two matrices