|
|
hi,
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "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 :)
can be v productive.
> > 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
couple of thoughts before I download the file, for which thanks.
re 1. why can you not simply change the 'generate_matrix' (I think) function,
to fill that matrix with the file values?
re 2. keep the current way of supplying the size, more flexibility; in a file
that could be the dimensions row/line before the data lines.
> 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.
not sure I follow.
regards, jr.
Post a reply to this message
|
|