|
Ublas : |
From: Hugo Duncan (hugo_duncan_at_[hidden])
Date: 2007-02-15 19:48:14
Hi,
I finally got round to trying the updated traits in boost sandbox cvs
(http://archives.free.net.ph/message/20061203.152639.024e2c7c.en.html).
IF I understand correctly, then for a column_major matrix
matrix_traits<>::leading_dimension(matrix)
--> column_major::size_M(matrix.size1(),matrix.size2())
--> matrix.size2()
which gives the number of columns.
shouldn't leading_dimension return the number of rows for a column major,
ie size_m() rather than size_M()?
Hugo
____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367