From: Paul Lutus Date: 2006-09-12T18:00:32+09:00 Subject: Re: Matrix Michael Ulm wrote: / ... >> I think the writers of the Matrix class realized this, and didn't bother >> to include an assignment operator on the ground that it wouldn't have any >> general utility. >> > > Then they would have been wrong. The lack of the []= operator has been a > major PITA for me, as I often need matrix functions (FWIW I'm a > mathematician, working on applications of artificial inteligence). > The implementations of many higher level matrix operations needs the > assignment operator. Try implementing a SVD algorithm without it. In Ruby, it's trivial to add it. -- Paul Lutus http://www.arachnoid.com