|
|
"jr" <cre### [at] gmailcom> wrote:
> the latter, I'm confident, although somewhat unsure of exact syntax.
OK - I just usually search-engine my way to a solution :)
> suggestion: attach your working version of svd.cpp, so we talk same code. I'll
> play with it here to test; are the matrices filled just with floats?
Right on.
At the moment, my thoughts are:
1. the data must get read into a faux-matrix std::vector container, which I
suppose has to be created before assigning the data to it
2. it should have m rows - the number of vectors to process, and m columns - the
first 3 are x, y, and z, and all the remaining columns are zeros
Then hopefully I can use that lesson to apply the SVD output to the data in the
SDL scene.
There's hardly any data in the header file - I'm assuming that can just be added
to the top of the .cpp file to keep it all self-contained.
Post a reply to this message
Attachments:
Download 'svd_bw.cpp.txt' (14 KB)
|
|