Boost logo

Boost Users :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-12-10 07:23:48


Daniel L Elliott wrote:

>
> #include<boost/numeric/ublas/storage.hpp>

add before lu.hpp also matrix.hpp, matrix_proxy.hpp and operation.hpp

> #include<boost/numeric/ublas/lu.hpp>
>
>
> using namespace boost::numeric::ublas;
>
> int main(){
>
> // create a permutation matrix
> permutation_matrix P( 5 );

change this into 'permutation_matrix<> P( 5 ) ;'

> // default contructions gives the identity-permutation
>
> return 0;
> }

works for me now (using the CVS HEAD)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net