Finally, after a wait of more than thirty-five years, the first part of Volume 4 is at last ready for publication. Check out the boxed set that brings together Volumes 1 - 4A in one elegant case, and offers the purchaser a $50 discount off the price of buying the four volumes individually. Β The
The Art of Computer Programming, Volume 2: Seminumerical Algorithms (3rd Edition)
β Scribed by Donald E. Knuth
- Publisher
- Addison-Wesley Professional
- Year
- 1997
- Tongue
- English
- Edition
- 3
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Volume 2 of Donald Knuth's classic series The Art of Computer Programming covers seminumerical algorithms, with topics ranging from random number generators to floating point operations and other optimized arithmetic algorithms. Truly comprehensive and meticulously written, this book (and series) is that rarest of all creatures--a work of authoritative scholarship in classical computer science, but one that can be read and used profitably by virtually all working programmers.
The book begins with fundamental questions regarding random numbers and how to use algorithms to generate them. Subsequent chapters demonstrate efficient computation of single-precision and double-precision arithmetic calculations and modular arithmetic. The text then presents prime factorization (which can be used in cryptography, for instance) and algorithms for calculating fractions. This volume ends with algorithms for polynomial arithmetic and manipulation of power-series topics, which will benefit those with some knowledge of calculus.
Throughout this beautifully presented edition, Knuth incorporates hundreds of useful exercises for trying out the algorithms. These range from simple problems to larger research project topics. (The book provides answers, where appropriate, at the end of the book.) The result is a text that's suitable for college or graduate-level computer science courses or individual study by programmers. Volume 2 is an indispensable part of any working programmer's library.
β¦ Table of Contents
Chapter 3 β Random Numbers
3.1. Introduction
3.2. Generating Uniform Random Numbers
3.2.1. The Linear Congruential Method
3.2.1.1. Choice of modulus
3.2.1.2. Choice of multiplier
3.2.1.3. Potency
3.2.2. Other Methods
3.3. Statistical Tests
3.3.1. General Test Procedures for Studying Random Data
3.3.2. Empirical Tests
3.3.3. Theoretical Tests
3.3.4. The Spectral Test
3.4. Other Types of Random Quantities
3.4.1. Numerical Distributions
3.4.2. Random Sampling and Shuffling
3.5. What Is a Random Sequence?
3.6. Summary
Chapter 4 β Arithmetic
4.1. Positional Number Systems
4.2. Floating Point Arithmetic
4.2.1. Single-Precision Calculations
4.2.2. Accuracy of Floating Point Arithmetic
4.2.3. Double-Precision Calculations
4.2.4. Distribution of Floating Point Numbers
4.3. Multiple-Precision Arithmetic
4.3.1. The Classical Algorithms
4.3.2. Modular Arithmetic
4.3.3. How Fast Can We Multiply?
4.4. Radix Conversion
4.5. Rational Arithmetic
4.5.1. Fractions
4.5.2. The Greatest Common Divisor
4.5.3. Analysis of Euclidβs Algorithm
4.5.4. Factoring into Primes
4.6. Polynomial Arithmetic
4.6.1. Division of Polynomials
4.6.2. Factorization of Polynomials
4.6.3. Evaluation of Powers
4.6.4. Evaluation of Polynomials
4.7. Manipulation of Power Series
Answers to Exercises
Appendix A β Tables of Numerical Quantities
1. Fundamental Constants (decimal)
2. Fundamental Constants (octal)
3. Harmonic Numbers, Bernoulli Numbers, Fibonacci Numbers
Appendix B β Index to Notations
Appendix C β Index to Algorithms and Theorems
Index and Glossary
π SIMILAR VOLUMES
This book is the fourth in a series. Like its predecessors, the book consists of a collection of papers on various aspects of relational technology. A special feature of the book is Part I, Theory Is Practical! which consists of the first 25 installments of Chris Date's popular column "According to
Third Edition now available!Volume 2 provides a comprehensive interface between computer programming and numerical analysis. It includes a substantial amount of complexity theory, number theory, and statistics. 0201038226B04062001
Knuth's multivolume work, widely recognized as the definitive description of classical computer science, is now available in an attractive, boxed set. The three volumes included in this set have each been revised recently to reflect developments in the field. As earlier editions clearly demonstrated