On Sat, Apr 19, 2003 at 06:36:25AM +0900, Hal E. Fulton wrote: > > 2. This reminds me so much of when I studied > mathematical models of population genetics. (It > was my first real exposure to matrices... I had > discrete math and calculus, but never linear > algebra.) > > 3. As I did back then, I can't help wondering: > Shouldn't there be a simple non-iterative solution > for this? Or at least non-matrix? Something like, > umm, find the geometric mean and divide each weight > by that and multiply by the price of tea in China? [ruby-talk:69721] The last step can be done by solving a linear equations system instead of doing it iteratively. Of course, the iteration is then hidden inside the solver :-) -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Linux is obsolete -- Andrew Tanenbaum