Click here to Skip to main content
15,893,190 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Running out of Memory - Maths Check Pin
Member 31409626-Sep-12 20:36
Member 31409626-Sep-12 20:36 
GeneralRe: Running out of Memory - Maths Check Pin
Stefan_Lang7-Sep-12 4:29
Stefan_Lang7-Sep-12 4:29 
AnswerRe: Running out of Memory - Maths Check Pin
Stefan_Lang7-Sep-12 4:49
Stefan_Lang7-Sep-12 4:49 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger7-Sep-12 21:23
M-Badger7-Sep-12 21:23 
GeneralRe: Running out of Memory - Maths Check Pin
Stefan_Lang10-Sep-12 0:53
Stefan_Lang10-Sep-12 0:53 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger10-Sep-12 20:50
M-Badger10-Sep-12 20:50 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger11-Sep-12 21:29
M-Badger11-Sep-12 21:29 
GeneralRe: Running out of Memory - Maths Check Pin
Stefan_Lang11-Sep-12 22:46
Stefan_Lang11-Sep-12 22:46 
Interesting. I have to admit I was a bit doubtful of my own line of argumentation, since I've seen incredibly detailed pictures from the Mandelbrot Set as early as 25 years ago, and I doubt many of them (if any) were calculated using arbitrary precision. Nor did their smoothness indicate anything even close to the error levels that error propagation theory would suggest.

Then again, I've seen some fixed point 16 bit implementations that were clearly useless for anything but calculating the full picture (at a low resolution, preferably) - zooming in pretty quickly revealed the huge errors this limited accuracy produced.

In any case, you should make sure that when you zoom in to some interesting area, your accuracy is still some orders of magnitude above the distance between pixels, or else you'll get the same kind of artifacts I mentioned in the previous paragraph.

P.S.: I considered how to model the cancelling out: the systematic error based on machine precision has a uniform distribution. Iterating this calculation, is like adding independent variables (up to 4 times in one iteration step), resulting in a distribution that looks more like a normal distribution. The expected error will be 0, on average, but what is of a greater interest is the likelyhood that the error exceeds some value that makes the result unusable (an error about the size of 1, or greater). Unfortunately my knowledge of probability theory is somewhat rusted, but I suppose if you can determine that likelyhood and it is on the order of no more than 1/(number of pixels), then you still should get good results for visualization purposes.
AnswerRe: Running out of Memory - Maths Check Pin
Edward Giles26-Jun-13 19:35
Edward Giles26-Jun-13 19:35 
QuestionPDF417 generator and reader supports Arabic Pin
dinadido28-Aug-12 8:19
dinadido28-Aug-12 8:19 
AnswerCross post. Pin
SoMad28-Aug-12 11:10
professionalSoMad28-Aug-12 11:10 
QuestionA Modelling Question Pin
Roger Wright21-Aug-12 13:01
professionalRoger Wright21-Aug-12 13:01 
AnswerRe: A Modelling Question Pin
Peter_in_278021-Aug-12 13:25
professionalPeter_in_278021-Aug-12 13:25 
GeneralRe: A Modelling Question Pin
Roger Wright21-Aug-12 15:38
professionalRoger Wright21-Aug-12 15:38 
GeneralRe: A Modelling Question Pin
Peter_in_278021-Aug-12 16:08
professionalPeter_in_278021-Aug-12 16:08 
GeneralRe: A Modelling Question Pin
Roger Wright21-Aug-12 16:51
professionalRoger Wright21-Aug-12 16:51 
QuestionC# XNA 4 AI for path Pin
C.CoderCreator19-Aug-12 18:39
C.CoderCreator19-Aug-12 18:39 
AnswerRe: C# XNA 4 AI for path Pin
jk chan19-Aug-12 21:44
jk chan19-Aug-12 21:44 
GeneralRe: C# XNA 4 AI for path Pin
C.CoderCreator19-Aug-12 22:05
C.CoderCreator19-Aug-12 22:05 
GeneralRe: C# XNA 4 AI for path Pin
jk chan19-Aug-12 22:08
jk chan19-Aug-12 22:08 
GeneralRe: C# XNA 4 AI for path Pin
Arthur F Souza4-Sep-12 8:59
Arthur F Souza4-Sep-12 8:59 
QuestionExtract Circle Features From Image Pin
Karl Sanford19-Jul-12 9:42
professionalKarl Sanford19-Jul-12 9:42 
AnswerRe: Extract Circle Features From Image Pin
Luc Pattyn19-Jul-12 9:58
sitebuilderLuc Pattyn19-Jul-12 9:58 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford19-Jul-12 10:06
professionalKarl Sanford19-Jul-12 10:06 
GeneralRe: Extract Circle Features From Image Pin
Legor23-Aug-12 1:06
Legor23-Aug-12 1:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.