Coolest Python recipe of all time

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue May 3 02:29:30 EDT 2011


Terry Reedy wrote:
> The trick is that replacing x with j and evaluating 
> therefore causes (in Python) all the coefficients of x (now j) to be 
> added together separately from all the constant terms to reduce the 
> linear equation to a*x+b (= 0 implied).

Hmmm... so if we used quaternions, could we solve systems
of linear equations in 3 variables?

-- 
Greg



More information about the Python-list mailing list