$include_dir="/home/hyper-archives/ublas/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2008-01-11 12:12:29
Luis M. de la Cruz Salas wrote:
>> Are you using -NDEBUG in your C++ compilation?.
In addition to that, Matlab and other programs like it are highly optimised 
for vector/matrix operations, they'll use a processor-specific library as a 
backend to speed up these operations using your processor's native 
vectorised-math operations.  I believe there are some bindings somewhere (in 
the sandbox maybe?) that allow you to use Ublas with an optimised BLAS 
backend, but if your compiler's optimiser supports it, you could also try 
turning on automatic optimisation of vectorisable operations (Intel C++ 
supports this for example).
HTH, John.