Boost logo

Boost :

Subject: Re: [boost] [MPL.Math] linear solver
From: David Abrahams (dave_at_[hidden])
Date: 2008-11-13 23:57:15


on Thu Nov 13 2008, Steven Watanabe <watanabesj-AT-gmail.com> wrote:

> AMDG
>
> Cromwell Enage wrote:
>> We were talking about Steven Watanabe's compile-time linear solver, currently part
> of Boost.Units. Can you point me in the right direction as to where the
> implementation is? (My initial guess is <boost/units/detail/linear_algebra.hpp>.)
>
> Yes.
>
>> Documentation would be a big plus, but at least I can read source code.
>>
>
> This is not documented since it is implementation details.
>
> To solve the matrix equation Ax = b, the code
> primarily uses Gauss-Jordan elimination
> to invert A, although there is a special case when A = I.
> (The assumption is that A is likely the be used several
> times, so we take advantage of memoization).

I just wanna say, that's ridiculous. I mean ridiculously cool, of
course.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk