Boost logo

Ublas :

Subject: Re: [ublas] Example of use of boost::numeric::bindings::lapack with symmetric or triangular matrices?
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2011-06-12 00:59:24


On 2011-06-12 06:26, Stuart Anderson wrote:
> Thanks for that!
>
> Tried this;
>
> svn co http://svn.boost.org/svn/boost/sandbox/numeric_bindings/
> g++ -I/home/stuart/Desktop/numeric_bindings/ -llapack -lblas
> -lgfortran hello-world.cpp -o hello_world
>
>
> Got this result;
>
> hello-world.cpp: In function ‘int main()’:
> hello-world.cpp:9:5: error: ‘cout’ is not a member of ‘std’
> hello-world.cpp:9:18: error: ‘bindings’ has not been declared
>

Thanks for trying. Please try adding

#include <iostream>

namespace bindings = boost::numeric::bindings;

to your hello_world source.

Cheers,

Rutger