Matrix multiplication using Matrix Template library (MTL 4)
Posted
by Lxc
on Stack Overflow
See other posts from Stack Overflow
or by Lxc
Published on 2010-04-22T15:46:54Z
Indexed on
2010/04/22
17:03 UTC
Read the original article
Hit count: 212
c++
The program is as following:
#include <iostream>
#include <boost/numeric/mtl/mtl.hpp>
using namespace mtl;
int main(int argc, char* argv[])
{
dense_vector<double> a(5,1.0);
dense_vector<double> b(5,2.0);
a * trans(b);
}
I want to calculate a * trans(b), but there is a compling error :C2893. Will someone help me? Thanks a lot!
© Stack Overflow or respective owner