章节目录
Chapter 3 Random Numbers 1 3.1. Introduction 1 3.2. Generating Uniform Random Numbers 10 3.2.1. The Linear Congruential Method 10 3.2.1.1. Choice of modulus 12 3.2.1.2. Choice of multiplier 16 3.2.1.3. Potency 23 3.2.2. Other Methods 26 3.3. Statistical Tests 41 3.3.1. General Test Procedures for Studying Random Data 42 3.3.2. Empirical Tests 61 *3.3.3. Theoretical Tests80 3.3.4. The Spectral Test 93 3.4. Other Types of Random Quantities 119 3.4.1. Numerical Distributions 119 3.4.2. Random Sampling and Shuffling 142 *3.5. What Is a Random Sequence? 149 3.6. Summary 184 Chapter 4 Arithmetic 194 4.1. Positional Number Systems 195 4.2. Floating Point Arithmetic 214 4.2.1. Single-Precision Calculations 214 4.2.2. Accuracy of Floating Point Arithmetic 229 *4.2.3. Double-Precision Calculations 246 4.2.4. Distribution of Floating Point Numbers 253 4.3. Multiple Precision Arithmetic 265 4.3.1. The Classical Algorithms 265 *4.3.2. Modular Arithmetic 284 *4.3.3. How Fast Can We Multiply? 294 4.4. Radix Conversion 319 4.5. Rational Arithmetic 330 4.5.1. Fractions 330 4.5.2. The Greatest Common Divisor 333 *4.5.3. Analysis of Euclid's Algorithm 356 4.5.4. Factoring into Primes 379 4.6. Polynomial Arithmetic 418 4.6.1. Division of Polynomials 420 *4.6.2. Factorization of Polynomials 439 4.6.3. Evaluation of Powers 461 4.6.4. Evaluation of Polynomials 485 *4.7. Manipulation of Power Series 525 Answers to Exercises 538 Appendix A--Tables of Numerical Quantities 726 1. Fundamental Constants (decimal) 726 2. Fundamental Constants (octal) 727 3. Harmonic Numbers, Bernoulli Numbers, Fibonacci Numbers 728 Appendix B--Index to Notations 730 Index and Glossary 735
内容简介
《计算机程序设计艺术》系列著作对计算机领域产生了深远的影响。这一系列堪称一项浩大的工程,自1962年开始编写,计划出版7卷,目前已经出版了4卷。《美国科学家》杂志曾将这套书与爱因斯坦的《相对论》等书并列称为20世纪最重要的12本物理学著作。目前Knuth正将毕生精力投入到这部史诗性著作的撰写中。想了解本书最新信息,请访http://www-cs-faculty.stanford.edu/~knuth/taocp.html。
下载说明
1、计算机程序设计艺术(第2卷 英文版·第3版)是作者Donald E.Knuth创作的原创作品,下载链接均为网友上传的网盘链接!
2、相识电子书提供优质免费的txt、pdf等下载链接,所有电子书均为完整版!