Re: matrix multiplication
- To: mathgroup at smc.vnet.net
- Subject: [mg37404] Re: [mg37359] matrix multiplication
- From: Tomas Garza <tgarza01 at prodigy.net.mx>
- Date: Sat, 26 Oct 2002 02:04:26 -0400 (EDT)
- References: <200210250646.CAA18095@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Most likely to be improved, but at first glance:
In[1]:=
prod[a_List, b_List] :=
Table[Table[a[[i]] . Transpose[b][[j]],
{j, 1, Dimensions[a][[1]]}],
{i, 1, Dimensions[b][[2]]}]
Tomas Garza
Mexico City
----- Original Message -----
From: "Rayan Ghosal" <rayan_ghosal at yahoo.com>
To: mathgroup at smc.vnet.net
Subject: [mg37404] [mg37359] matrix multiplication
> how do i write a code for matrix multiplication using mathematica. I
> do not want to use the standard package but rather write the program
> myself in mathematica.
>
>
- References:
- matrix multiplication
- From: rayan_ghosal@yahoo.com (Rayan Ghosal)
- matrix multiplication