c++ - boost ublas matrix view for transpose -
c++ - boost ublas matrix view for transpose -
what best way multiply matrix transpose of matrix using boost::ublas. have access atlas/blas bindings. both memory , performance important. thus, crucial no copies created when doing transpose.
current implementation looks this:
atlas::gemm<mytype>(ublas::trans(*a), *b, *c);
i trying replace ublas::trans memory management operation, e.g. form of matrix view. unfortunately, operations aware of (e.g. see matrix_range in matrix proxies) allow create views of matrix is, , not of transpose.
while performance important, happy consider using ublas::prod operation, if necessary.
c++ boost type-conversion linear-algebra ublas
Comments
Post a Comment