#include #include #include #include #include int main () { using std::cout; namespace ublas = boost::numeric::ublas; ublas:: vector v(6); ublas:: vector vv(v); std::ofstream outfile("data.dat"); std::ifstream infile("data.dat"); for (unsigned i=0; i<6; ++i) v(i)=sqrt(i); outfile.precision(16); // accuracy for file output outfile<>vv; // read vector from file infile.close(); cout<<"from file: vector vv = "<