关于c:Programming-abstractions-in-C阅读笔记-p118p122

2次阅读

共计 1062 个字符,预计需要花费 3 分钟才能阅读完成。

《Programming Abstractions In C》学习第 49 天,p118-p122,总结如下:

一、技术总结

1. 随机数

(1)seed

p119,”The initial value–the value that is used to get the entire process start–is call a seed for the random generator.”

二、数学总结

1. 均匀分布 (uniform distribution)

均匀分布属于概率论和统计学领域,有连续性均匀分布和离散型均匀分布。

参考:(1) 连续性均匀分布 (continuous uniform distribution):(2)离散型均匀分布 (discrte uniform distribution):

三、英语总结

1.discern 是什么意思?

答:dis-(“off, away”) + cernere(“distinguish, seperate, shif”),”to see, recorgnize, understand sth that is not clear(辨认)”,当应用这个单词的时候,示意“被辨认”的对象并不是那么“clear”。

2.against 什么意思?

p120,“Finally, every implementation needs to include its own interface so the compiler can check the prototypes against the actual definitions.”。这里之所以要把 against 抽出来说,是因为 against 很多中央会用到,但要说间接翻译成什么词,却不是那么好间接给出答案,这里做一个总结。against 总体的意思是“prep. opposite/toward”。

3.suffice 什么意思?

答:i. to be enough。形容词是“sufficent”。p120,“The comments in the interface should suffice.”(接口中定义的正文应该足够了)。

三、参考资料

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)

正文完
 0