Thank a lot, but I run into errors, because I can't see my error.
but without the atlas subdir I can't compile it.
4. Then I try to write my own example:
#define BOOST_NUMERIC_BINDINGS_BLAS_CBLAS
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/bindings/blas/level1.hpp>
or
#include <boost/numeric/bindings/blas/level1/nrm2.hpp>
namespace ublas = boost::numeric::ublas;
namespace atlas = boost::numeric::bindings::atlas;
int main() {
ublas::vector<float> sv (8);
std::cout << atlas::nrm2 (sv) << std::endl;
}
but the namespace isn't defined. So I search the nrm2.hpp
and set the include directly, but it doesn't work.
I don't understand how to use the bindings, because I can't
find a documentation with a working example like on the
boost main page.
Thanks a lot.
Phil