J
J.M.
I am trying to use a software package in my program, the problem being
different methods are used to store vectors. I have "my" vectors stored as
vector<double> from the STL and need to pass a double* and the dimension of
the vector to the software package. On return, I get a double* plus
dimension, but need vector<double>. Is there anyway that this can be
achieved *without* copying the data, as this is a very expensive option?
Thanks in advance for any help.
Jan
different methods are used to store vectors. I have "my" vectors stored as
vector<double> from the STL and need to pass a double* and the dimension of
the vector to the software package. On return, I get a double* plus
dimension, but need vector<double>. Is there anyway that this can be
achieved *without* copying the data, as this is a very expensive option?
Thanks in advance for any help.
Jan