|
|
"jr" <cre### [at] gmailcom> wrote:
> had a quick look, the page appears to give you the lot.
Right, it looked solid enough to pursue, though it will require a lot of
fiddling to adapt to SDL.
> thinking you ought to have a look at the GSL (GNU Scientific Library); I just
> found an index entry for singular value decomp.
I got that set up, and now need to learn how to use such things.
It appears that I have to write a c++ program and compile it, and then run it.
Looks like this guy has a short program written, where we could just delete or
comment out the Eigen stuff:
https://stackoverflow.com/questions/36959506/eigen-library-svd-is-slow-compared-to-gsl
If you can work something out that runs - tell me what format we need for the
data input - CSV would be nice ;) and then we can see what this thing _does_.
Can we run POV-Ray to #write trace() results to disk, and then call the c++ to
write the SVD data to a file? Can that c++ program then restart POV-Ray to use
the SVD data? (have an if file exists block to switch between write data and
read data)?
Post a reply to this message
|
|