Boost logo

Boost Users :

Subject: [Boost-users] Swap two columns of a matrix
From: Alex34 (gicatena_at_[hidden])
Date: 2010-07-15 04:12:03


Hi, I'm using a ublas matrix

matrix <double> m_mat(2,2);

and I need to swap two columns. Row-major by default I coult not use memcpy.
How to do it?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net