#include <boost/numeric/bindings/atlas/cblas3.hpp>
#include <boost/numeric/bindings/traits/ublas_matrix.hpp>
namespace atlas = boost::numeric::bindings::atlas;
int main()
{
size_t n = 100;
ublas::matrix<double, ublas::column_major> A(n,n),B(n,n),C(n,n);
// fill A and B
Dear All,
- I am a Linux user (Ubuntu 8.10, 64bit, gcc 4.3.2, 4Gig RAM) and I have isntalled boost using repository. It seems that atals is not officially part of the boost (pleas correct me if I am wrong)? Could anybody kindly tell how I can install it? I know that I should find in the sandbox but I could find any instruction or step through.
- My program involves multiplication of very tall matrix by almost square matrix (1000000x 30 by 30 x 30). I have performed this multiplication using gsl and it produced the result after 4.1second. Similar operation, using ublas took about 37second! Similar operation takes about 0.5second in MATLAB. I presume that there is a blunder in my program but I cannot figure it out: