Re: Equal and operation with list
- To: mathgroup at smc.vnet.net
- Subject: [mg29536] Re: Equal and operation with list
- From: "Orestis Vantzos" <atelesforos at hotmail.com>
- Date: Sat, 23 Jun 2001 01:47:23 -0400 (EDT)
- Organization: National Technical University of Athens, Greece
- References: <9guom2$nvh$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Equality between vectors (or any list structure) is a perfectly valid (even expected) thing in Mathematica. Therefore you should not expect an automatic "threading" of the vector equations to set of normal equations. The solution is simple..."thread" them yourself: Thread[Y==Dot[B,X]] will do just fine! Orestis "Guillermo Sanchez" <guillerm at gugu.usal.es> wrote in message news:9guom2$nvh$1 at smc.vnet.net... > 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 >