Click here to Skip to main content
15,889,693 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Linear Regression Most Efficient algorithm calc Line of Best Fit PinPopular
Peter_in_27804-Sep-12 20:17
professionalPeter_in_27804-Sep-12 20:17 
QuestionRunning out of Memory - Maths Check Pin
M-Badger3-Sep-12 7:52
M-Badger3-Sep-12 7:52 
AnswerRe: Running out of Memory - Maths Check Pin
Andrei Straut3-Sep-12 9:03
Andrei Straut3-Sep-12 9:03 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger3-Sep-12 10:11
M-Badger3-Sep-12 10:11 
GeneralRe: Running out of Memory - Maths Check Pin
Andrei Straut3-Sep-12 10:56
Andrei Straut3-Sep-12 10:56 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger3-Sep-12 11:18
M-Badger3-Sep-12 11:18 
GeneralRe: Running out of Memory - Maths Check Pin
harold aptroot3-Sep-12 21:54
harold aptroot3-Sep-12 21:54 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger4-Sep-12 0:26
M-Badger4-Sep-12 0:26 
Absolutely correct, I don't need them all at the same time.

That was my gut reaction to the problem of using pluggable colourisers, i.e. the Imager class, that does the looping through the pixels, asks a FractalSet to iterate its equation and send back the results, it would then manipulate them and finally send the manipuplated data to the colouriser. However, the Imager doesn't know what data the colouriser needs, it could be as simple as the iteraton count and the max iterations, it could be the average of all iterations, the escape angle etc.

The conclusion is that I need to send the results of each iteration to the colouriser immediately after each iteration has finished. The colouriser can then do whatever manipulations it wants to and store only the data it needs rather than the Imager storing everything and only invoking the colouriser once all iterations have finished.

I think that'll work, we'll soon see...

Mike
AnswerRe: News Page Pin
M-Badger3-Sep-12 21:12
M-Badger3-Sep-12 21:12 
AnswerRe: Running out of Memory - Maths Check Pin
YvesDaoust3-Sep-12 23:21
YvesDaoust3-Sep-12 23:21 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger4-Sep-12 0:29
M-Badger4-Sep-12 0:29 
AnswerRe: Running out of Memory - Maths Check Pin
Member 91314964-Sep-12 1:56
Member 91314964-Sep-12 1:56 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger4-Sep-12 9:29
M-Badger4-Sep-12 9:29 
GeneralRe: Running out of Memory - Maths Check Pin
Member 91314965-Sep-12 2:00
Member 91314965-Sep-12 2:00 
SuggestionRe: Running out of Memory - Maths Check Pin
Jeremy David Thomson5-Sep-12 1:36
Jeremy David Thomson5-Sep-12 1:36 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger5-Sep-12 5:54
M-Badger5-Sep-12 5:54 
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 
AnswerRe: Running out of Memory - Maths Check Pin
Edward Giles26-Jun-13 19:35
Edward Giles26-Jun-13 19:35 

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.