POV-Ray : Newsgroups : povray.text.scene-files : [Minimum Volume] Bounding Ellipsoid via SVD : Re: [Minimum Volume] Bounding Ellipsoid via SVD Server Time
19 Apr 2024 16:53:07 EDT (-0400)
  Re: [Minimum Volume] Bounding Ellipsoid via SVD  
From: jr
Date: 6 Nov 2019 05:15:00
Message: <web.5dc29cfbf7b9a3affeeb22ff0@news.povray.org>
hi,

"Bald Eagle" <cre### [at] netscapenet> wrote:
> Looks like the nan values were because the matrix.resize operations didn't fill
> in the new positions with 0.

another (valuable) lesson.  initialise all your vars, always.

> Fixed it one way, until I needed to fix it another ;)
> But now it runs without errors or nan entries.

great stuff.

> > I suppose I need to dump everything to a text file, rather than to std::cout ...

no urgent need, use the OS tools.  when you dump (CSV) values, you could:
  $ ./a.out {arg}  |  tee myfile.csv

'tee(1)' splits its input, displaying it _and_ writing it to file.


regards, jr


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.