
NUMERICAL RECIPES IN FORTRAN
by William H. Press · first published 1992
6mentions
1recommended by
6HN commenters
2012–2025first – last mentioned
17% recommend67% neutral17% critical
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
Two valuable (and related) resources when learning FORTRAN are: The NUMERICAL RECIPES in Fortran 90 book[0] The NUMERICAL RECIPES website[1] 0 - https://www.cambridge.org/us/universitypress/subjects/mathem... 1 - https://numerical.recipes/
on “Learning Fortran (2024)” ↗Numerical Recipes in Fortran 77? http://www.amazon.com/Numerical-Recipes-Fortran-Scientific-C... Cool, I'll give it a go, thanks for sharing :)
on “Ask HN: How to get 13yo's excited about programming?” ↗…procedural, return-by-value code in Ruby. That's pretty normal in Python and I think one of the (many) reasons it got picked up by STEM disciplines in academia. Looks over shoulder at awful code in Numerical Recipes in Fortran book. Different strokes for different folks and all that, I just think there are probably constraints (and cultural values) that Python has that make it more suited to data problems than Ruby.
on “Ruby 3.0.0 RC1” ↗…against some results they had (he didn't tell me why this was needed, but it was pretty obvious..) Anyway, he was a Fortran programmer who used a VAX. My family had a Mac Plus with Hypercard. He gave me "Numerical Recipes in Fortran"[1] and I ended up implementing Newton's method[1] in Hypercard. After that I felt I really understood calculus... [1] http://www.haoli.org/nr/bookf.html [2] http://en.wikipedia.org/wiki/Newtons_method
on “25 years of HyperCard—the missing link to the Web” ↗…favorite problems is solving median based on a stream of data that you can replay, but only using, something like 3 variables of the same type of the data (which I think needs to be integer) from the book Numerical Recipes in FORTRAN. It’s to optimize finding the median from a tape drive in the 70s, but the technique is pretty cute. You make a guess at the median, then basically sum how many are over, and under that value, then…
on “P² quantile estimator – estimating the median without storing values” ↗…This collector assumes that a pointer to a block must point to somewhere in the block, or, in later versions, at least somewhere really close. The original Numerical Recipes in C was a conversion of Numerical Recipes in FORTRAN. FORTRAN arrays start at 1. So, NR in C had an array allocator which returned an array address computed such that subscripts starting at 1 would work.[1] If you allocated a 100x100 array of 4-byte f32…
on “Boehm-Demers-Weiser conservative C/C++ Garbage Collector” ↗