
20 Jul
2012
20 Jul
'12
12:47 p.m.
Jochen Wilhelmy 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: http://lists.boost.org/mailman/listinfo.cgi/boost
Lacking that, I just have a construct_from_range free function, that is then dispatched for every kind of 1D container I use (std::vector, boost::multi_array, ublas, other 3rd party)