I'm trying to swap two columns of a ublas matrix like
matrix <double> m_mat(2,2);
but since they are row-major I can't find a solution (excepted for an ugly cycle)
Do you have any other better solutions in mind?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |