Question

I am a newbie in C++ Boost uBLAS library so I have a noob question - how to transpose a matrix using this library? I could not find question here:

http://www.boost.org/doc/libs/1_44_0/libs/numeric/ublas/doc/html/index.html

Was it helpful?

Solution

C = boost::numeric::ublas::trans(A);

Documented (poorly) under Overview of Matrix and Vector Operations.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top