Boost logo

Boost Users :

From: Stephen Crowley (stephenc_at_[hidden])
Date: 2002-12-18 13:42:26


On Wed, Dec 18, 2002 at 09:18:55AM +0100, Wilken, Marc wrote:
> does ublas support a matrix method like blitz++ .reference() method?
> (This method allows different matrices to share the same matrix datas.)

I'm not sure how blitz++ works, but I've been using the following method.

matrix<double,row_major> m(10,5);

matrix<double,row_major,array_adaptor<double> > am(2,25,array_adaptor<double>(m.data.size(), m.data.begin()):

-- 
Stephen

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