Boost logo

Ublas :

Subject: [ublas] How to instantiate ublas vector from std::vector
From: Jeremy Conlin (jeremit0_at_[hidden])
Date: 2009-04-09 13:34:55

I would like to do the following:
std::vector<double> svd(3,1.0);
ublas::vector<double, std::vector<double> > uvd(svd);

But such a constructor does not exist. I thought that using a std::vector
for the storage type of a ublas vector allowed me to do this. Can someone
help me understand how I can do this (or some workaround)?