Subject: [ublas] Product of two matrices is very slow
From: zdespot (zdespot_at_[hidden])
Date: 2009-06-15 07:07:38
I am starting to use ublas package. Although I have studied the FAQs the
product of two matrices is still slow.
To execute the following code (on standard latop DELL inspirion 510m) it
took about 12 seconds (Debug and Release almost the same). I also have
tried the "naked" C-array and it took only few seconds to execute.
Could You give me a hint please how to propery use ublas for
performance? I am using MS Visual-Studio 2003.
using namespace boost;
using namespace boost::numeric;
noalias(r) = prod(m1,m2);