Boost logo

Boost :

Subject: Re: [boost] [numeric][ublas] please add vector constructor from boost::range
From: Kai Schroeder (kaischroeder3_at_[hidden])
Date: 2012-07-20 06:51:34

If speed is not a major concern, you could use std::vector as the
underlying container instead of unbounded_array and use its iteration


On 7/20/12, Jochen Wilhelmy <jochen.wilhelmy_at_[hidden]> wrote:
> Hi!
> is it possible to add a constructor for ublas::vector from boost::range?
> this would it make easier to construct from pain data (e.g. float*).
> something like boost::numeric::ublas::vector<float>
> v(boost::iterator_range<const float*>(myDataBegin, myDataEnd));
> -Jochen
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at