Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-09-03 05:48:10


The code fragement in attachment does not compile anymore. Any ideas to
circumvent it ?

 --------------040705010703080709010403 Content-Type: text/plain;
name="ublas.cpp"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ublas.cpp"

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

namespace ublas = boost::numeric::ublas ;

int main()
{
typedef ublas::matrix< std::complex< double > > result_type ;
result_type result(9,9) ;
typedef ublas::matrix_range< result_type > rr_type ;
rr_type rr( result, ublas::range(0,3), ublas::range(0,3) ) ;
typedef ublas::matrix_range< rr_type > rrr_type ;
rrr_type rrr( rr, ublas::range(0,3), ublas::range(0,3) ) ;

rrr = ublas::trans( rrr ) ;

return 0 ;
}
 --------------040705010703080709010403--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk