Why I cannot read ublas vectors from a binary file in a way like (instead of reading by one element at a time):
boost::numeric::ublas::vector<double> floatVector(10);
myFile.read( (char *)&vector, 10 * sizeof(double));
Is there a way to initialize ublas vector from the array?
double d[10];