문제

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

도움이 되었습니까?

해결책

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

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top