Re: multiplying matrice rows
- To: mathgroup at smc.vnet.net
- Subject: [mg44302] Re: multiplying matrice rows
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 5 Nov 2003 10:00:26 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <bo7o7e$af9$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, and m = {{1, 2, 3}, {1, 2, 3}, {1, 2, 3}}; amatrix = {{a, b, c}, {a, b, c}, {a, b, c}} MapAt[Dot[amatrix, #] &, m, {2}] with correct postions in MapAt[] does not help? Regards Jens Dragutin Culinovic wrote: > > How can I to multiply enumerated list of rows of an matrice on following > way: > To multyply each row (except rows a,b and c)of matrice A withe row a of > the same matrice, and replace that row (not a row) with result. > > rows b and c are last rows, row a is any row in the range 1->b(exclusive) > > THX