How to transpose matrix using uBLAS?

拈花ヽ惹草 提交于 2019-12-22 03:45:33

问题


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


回答1:


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

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



来源:https://stackoverflow.com/questions/4097153/how-to-transpose-matrix-using-ublas

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!