
13 Nov
2008
13 Nov
'08
8:57 p.m.
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). In Christ, Steven Watanabe