Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Gregory Ewing Newsgroups: comp.lang.python Subject: Re: Coolest Python recipe of all time Date: Tue, 03 May 2011 18:29:30 +1200 Lines: 11 Message-ID: <929lmdF59lU1@mid.individual.net> References: <69c1813d-1a9a-4686-9768-8ec1910a45f8@d19g2000prh.googlegroups.com> <018ur6da31iv7us9gm4dpgl7tfl0i6snb2@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net ws+sFPOLfjVs2BxmfuHz0gsp+n28eIa7dV7l1Y2uKZ3NuxzXMK Cancel-Lock: sha1:3tRzmnIvYoy09YSfWkZPsY8Adco= User-Agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711) X-Accept-Language: en-us, en In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4529 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