Programming abstractions in C 阅读笔记:p166-p175
《Programming Abstractions In C》学习第 58 天,p166-p175 总结。
一、技术总结
1.斐波那契数列(Fibonacci Sequenc)
(1)斐波那契数列来源
斐波那契数列来自于《Liber Abaci》一书里兔子繁殖问题,相关资料很多,这里不赘述。
(2)关于《Liber Abaci》一书
《Liber Abaci》——Liber:a book(意思是“书”);Abaci:abacus 的复数形式(意思是“算盘”)。
根据 Laurence Sigler《Fibonacci’s Liber Abaci: A Translation into Modern English of Leonardo Pisano’s Book of Calculation》一书第 9 页内容“One should here again make the point, that while derived from the word abacus the word abaci refers in the thirteenth century paradoxically to calculation without the abacus. Thus Liber abaci should not be translated as The Book of the Abacus......”在 13 世纪, abaci 是指直接使用印度数字(Hindu numerals),而不用“算盘”进行计算。所以,这本书恰当的中文译名应该是《计算之书》(The Book of Calculation,注:纪志刚翻译的中文版用的就是这个名字)。
(3)关于“斐波那契”这个名字
既然称为斐波那契数列,那么作者的名字是否叫斐波那契?根据百科说法是:Liber Abaci is a historic 1202 Latin manuscript on arithmetic by Leonardo of Pisa, posthumously known as Fibonacci。Fibonacci 是“filius Bonacci”,即“son of Bonacci”(波那契之子)。参考 Keith Devlin 所著《The Man of Numbers: Fibonacci's Arithmetic Revolution》一书)。
2.递推关系(recurrence realtion)
p173:
tn = tn-1 + tn-2
An expression of this type, in which each element of a sequence is defined in terms of earlier elements, is called a recurrence relation。
3.斐波那契序列的 C 语言实现
二、英语总结
1.suspcious 什么意思?
答:
(1)suspicious < suspicion:adj. feel doubt or not trust(可疑的)。 语法结构:be suspicious of。
(2)suspicion < suspect:c/u.
(3)suspect: vt. sub-("up to") + *spek-("to observe"),The notion behind the word is "look at secretly," hence, "look at distrustfully"(怀疑)。
2.supersede 是什么意思?
答:p168,The frame for Fact temporarily supersedes the frame for Main。vt. super-(above) + *sed-(to sit),即“displace, replace”之意。
3.essence 是什么意思?
答:u. the basic or most import quality of sth(本质、核心)。示例:p174, The essence of recursion is to break problems down into simpler ones that can be solved by calls to exactly the same function。形容词格式:essential。之前老是不记得 essential 是什么意思,这里对比着来记。
三、参考资料
1. 编程
(1)Eric S.Roberts,《Programming Abstractions in C》:https://book.douban.com/subject/2003414
2. 英语
(1)Etymology Dictionary:https://www.etymonline.com
(2) Cambridage Dictionary:https://dictionary.cambridge.org
欢迎搜索及关注:编程人(a_codists)
版权声明: 本文为 InfoQ 作者【codists】的原创文章。
原文链接:【http://xie.infoq.cn/article/864ec446434df675b158c40df】。未经作者许可,禁止转载。
评论