Boost logo

Ublas :

Subject: Re: [ublas] [bindings] New traits system
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2010-01-20 05:16:03


Rutger ter Borg wrote:
> I've fixed the ordering stuff, too. By now, I'm more and more convinced the
> bindings are correct, and the segfault is caused by a wrong test. I'm no
> math guru, but shouldn't "b" be Nx1 instead of 1XN?

"b" should be "Nx1" for column-major and "1xN" for row-major. The reason for this is explained under the "What's the deal with the RHS in the row-major factorization/solves?" item in the ATLAS FAQ:

http://math-atlas.sourceforge.net/faq.html#RowSolve

Regards,
Thomas