|
Ublas : |
From: will_at_[hidden]
Date: 2005-03-27 20:23:29
Friends:
1)Thank you for answering my complex math question; I updated my version
of boost and complex numbers work fine.
2)I am having problems with ublas vectors. I can't seem to load ublas
vectors with data from a file. This is the method I use with std vectors:
vector<float> v;
ifstream infile("/home/will/roughwork/numbers.dat");
istream_iterator<float> fin(infile),end;
v.assign(fin,end);
I can not get this to work with a ublas vector. Nor can I use copy, or
assign from a std vector into a ublas vector.
What is the best way load file data into a ublas vector?
Thanks,
Will