《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)