Maik Beckmann schrieb:
zdespot schrieb am Montag 15 Juni 2009 um 13:07:

  
#include <boost/numeric/ublas/matrix.hpp>
using namespace boost;
using namespace boost::numeric;

#define BOOST_UBLAS_CHECK_FALSE
#define NDEBUG
int main(int,char*[])
{
    ublas::matrix<double> m1(600,100);
    ublas::matrix<double> m2(100,100);
    ublas::matrix<double> r(600,100);
    noalias(r) = prod(m1,m2);
}

    

You have to place the #define statements _before_  the #include statements.

-- Maik
_______________________________________________
ublas mailing list
ublas@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: zdespot@hispeed.ch

  
Hi Maik

Thanks for the prompt answer. I changed the postion and rebuilt it, but it is still slow.

Zoran