RE: Equal and operation with list
- To: mathgroup at smc.vnet.net
- Subject: [mg29511] RE: [mg29491] Equal and operation with list
- From: "Higinio Ramos" <higra at gugu.usal.es>
- Date: Sat, 23 Jun 2001 01:46:52 -0400 (EDT)
- Organization: usal
- References: <200106220620.CAA24439@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
----- Original Message ----- From: Guillermo Sanchez <guillerm at gugu.usal.es> To: mathgroup at smc.vnet.net Subject: [mg29511] [mg29491] Equal and operation with list > 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 > The result obtained with Y == Dot[B,X], or simply Y== B.X, that is {y1, y2} == {b11 X1 + b12 X2, b21 X1 + b22 X2} is the same system of equations that you refer, {y1== b11 X1 + b12 X2, y2== b21 X1 + b22 X2}. But if you prefer this second form you may do {Y[[1]] == (B.X)[[1]], Y[[2]] == (B.X)[[2]]}. Higinio
- References:
- Equal and operation with list
- From: guillerm@gugu.usal.es (Guillermo Sanchez)
- Equal and operation with list