|
|
|
|
|
by magicalhippo
1532 days ago
|
|
What are some good, current sources for learning about and implementing numerical algorithms like those in Numerical Recipes? I get that for most just using Numpy, GSL or similar library would be sufficient, but what if you really want to implement them yourself. |
|
First make sure you're familiar with background issues in numerical analysis/computation such that you're generally familiar with IEEE floating point and its foibles, numerical stability, basic error analysis etc.
Figure out which algorithm you're interested, find a couple of open source implementations (academics generally generate a vast array of these, though many may become abandonware), look at any papers they are associated with/mention and read those. Now you're ready to start writing.
Once you have a basic implementation, most fields have a set of standard problems they benchmark on. Find those and see how you compare on numerical accuracy and performance against the libraries you looked at before.