|
Ublas : |
Subject: [ublas] How to enable boost numeric binding
From: Tarek Elsayed (t.elsayed_at_[hidden])
Date: 2011-09-22 03:23:03
Hello,
I noticed that ublas is very slow in sparse matrix matrix and matrix vector
multiplications compared to Mathematica, Eigen and MTL4. I recently found
the boost-numeric-binding, followed the steps mentioned
here<http://mathema.tician.de/node/391>,
but gained no speed !
I compile my program as:
g++ -O3 goUBLAS.cpp
-I/home/tarek/go/boost-bindings/include/boost-numeric-bindings/
Do I have to change the path of the boost header files in my program?
By the way, When I installed the bindings, I got this message
for header in `find boost -name '*.hpp' -o -name '*.h'`; do \
tgt_dir=~/go/boost-bindings/include/boost-numeric-bindings; \
mkdir -p `dirname $tgt_dir/$header`; \
cp $header $tgt_dir/$header ; \
done
Does it tell me to do extra steps to let the bindings work?