Re: Equal and operation with list
- To: mathgroup at smc.vnet.net
- Subject: [mg29525] Re: Equal and operation with list
- From: Erk Jensen <Erk.Jensen at cern.ch>
- Date: Sat, 23 Jun 2001 01:47:08 -0400 (EDT)
- Organization: CERN http://www.cern.ch
- References: <9guom2$nvh$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Guillermo Sanchez wrote:
>
> I have tree list:
>
> Y = {y1, y2}
> B = {{b11,b12} , {b21, b22}}
> X = {X1, X2}
>
> I wish transform its in a system of equations like this:
>
> {y1== b11 X1 + b12 X2, y2== b21 X1 + b22 X2}
>
> I have test with Y == Dot[B,X] but don`t work. Any help?. Thanks
For me it works:
Y == Dot[B , X]
{y1, y2} == {b11 X1 + b12 X2, b21 X1 + b22 X2}
same result of course for Y == B . Y
BTW.: You should use capital letters only with a lot of care for your
variables! Many of them are predefined to mean something else!
Ciao
-erk-
--
Dr.-Ing. Erk JENSEN mailto:Erk.Jensen at cern.ch
CERN PS/RF L19510 http://cern.ch/Erk.Jensen
CH-1211 Geneva 23 Tel.: +41 22 76 74298
Switzerland Fax.: +41 22 76 78510