《Fortran 数值方法》封面

Fortran 数值方法

NUMERICAL RECIPES IN FORTRAN

William H. Press · 初版 1992 年

1人推荐
6位读者提及
6次提及

Hacker News 上怎么说

  • 学 FORTRAN 时有两个非常有价值(且相关)的资源:《Numerical Recipes in Fortran 90》这本书[0],以及 NUMERICAL RECIPES 网站[1]。0 - https://www.cambridge.org/us/universitypress/subjects/mathem... 1 - https://numerical.recipes/

    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/

  • 《Numerical Recipes in Fortran 77》?http://www.amazon.com/Numerical-Recipes-Fortran-Scientific-C... 太酷了,我去试试看,多谢分享 :)

    Numerical Recipes in Fortran 77? http://www.amazon.com/Numerical-Recipes-Fortran-Scientific-C... Cool, I'll give it a go, thanks for sharing :)

  • ……Ruby 里过程式、按值返回的代码。这在 Python 里很平常,而且我认为这也是它在学术界被各种 STEM 学科选中的(众多)原因之一。(心虚地扭头看了一眼《Numerical Recipes in Fortran》书里那些糟糕的代码)。萝卜青菜各有所爱吧,我只是觉得 Python 可能具备某些约束(和文化价值观),让它比 Ruby 更适合处理数据问题。

    …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.

  • ……对比他们手里的一些结果(他没告诉我为什么需要这个,但显而易见……)。总之,他是个用 VAX 的 Fortran 程序员。我家里有一台装了 HyperCard 的 Mac Plus。他给了我一本《Numerical Recipes in Fortran》[1],我最后用 HyperCard 实现了牛顿迭代法(Newton's method)[2]。在那之后,我才感觉自己真正理解了微积分…… [1] http://www.haoli.org/nr/bookf.html [2] http://en.wikipedia.org/wiki/Newtons_method

    …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

  • ……最喜欢的题目之一,是来自《Numerical Recipes in FORTRAN》里的:基于一个可重放的数据流来求中位数,但只能使用大约 3 个与数据类型相同(好像必须是整数)的变量。这是为了在 70 年代优化从磁带机上找中位数的问题,但这技巧相当巧妙。你先猜一个中位数,然后基本就是累加有多少个数字大于它、小于它,然后……

    …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…

  • ……这个垃圾回收器假设指向内存块的指针必须指向块内的某个位置,或者在后来的版本中,至少得在非常接近的位置。最初的《Numerical Recipes in C》是从《Numerical Recipes in FORTRAN》转译过来的。FORTRAN 数组下标是从 1 开始的。所以,C 版本的 NR 有一个数组分配器,返回的数组地址经过计算,可以让下标从 1 开始正常工作[1]。如果你分配一个 100x100 的 4 字节 f32 数组……

    …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…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助