Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to transpose matrix using uBLAS?

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

like image 664
user306080 Avatar asked Nov 04 '10 13:11

user306080


1 Answers

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

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

like image 141
Fred Foo Avatar answered Sep 23 '22 17:09

Fred Foo