Boost logo

Ublas :

Subject: Re: [ublas] size1 and size2
From: Nasos Iliopoulos (nasos_i_at_[hidden])
Date: 2009-09-13 18:10:21


It should be just a couple of lines of code to start with. I think Marco has offered to get his fingers on that in a previous post and I believe the developers want this in uBlas pretty soon, as long as a patch is available.
Best
Nasos

> To: ublas_at_[hidden]
> From: erwann.rogard_at_[hidden]
> Date: Sun, 13 Sep 2009 17:46:33 -0400
> Subject: Re: [ublas] size1 and size2
>
>
> > maybe we start with:
> >
> > miter = begin<tag::major>(MAT);
> > subiter = begin<tag::minor>(miter);
>
> Hi All,
>
> Some of the data-structures I use often are vector of vectors.
>
> What would be required (and that I desire) so I can use ublas without
> changing my code is to overload the functionality of boost/range.hpp as
> follows:
>
> miter = boost::begin(MAT); // calls begin<tag::major>(MAT);
> subiter = boost::begin(*miter); // calls begin<tag::minor>(miter);
>
> Does that seem feasible, reasonable?
>
> Thanks for giving it a thought, if your time permits it.
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: nasos_i_at_[hidden]

_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/