Hello,
I would like to use an stl vector for some tabular data:
std::vector<float> table;
The table has to be multiplied with another vector and I want to use dsplibs DSPF_sp_vecmul for this task.
So I have two problems:
- The input vectors for DSPF_sp_vecmul have to be DWORD aligned - how can I do this for an std::vector's data?
- How can I assign the resulting vector to an std::vector?
The vector class in Qt has a possibility to get a pointer to the vector's real data - this would be quite handy for stl, too :)
Of course, I can get the same result with a C-array - but I don't like them ;)
TIA,
Markus