Algorithms in a Nutshell
Performance Families | 31 AlgorithmsThe Math of Once again, an alternative program is written,alt, which eliminates the need for ...
(^32) | Chapter 2: The Mathematics of Algorithms Discussion 5b: Less Obvious Performance Computations In most cases, reading the ...
Performance Families | 33 AlgorithmsThe Math of This algorithm repeatedly compares two numbers (aandb) and subtracts the smaller ...
(^34) | Chapter 2: The Mathematics of Algorithms MODGCD will arrive at a solution more rapidly because it won’t waste time subtr ...
Mix of Operations | 35 AlgorithmsThe Math of Even though the MODGCD implementation outperforms the corresponding GCD implementat ...
(^36) | Chapter 2: The Mathematics of Algorithms Benchmark Operations The Scheme program in Example 2-7 computes 2n; a sample co ...
Benchmark Operations | 37 AlgorithmsThe Math of To refute hypothesis H2, we conduct an experiment that pre-computes the value of ...
(^38) | Chapter 2: The Mathematics of Algorithms Why do the points in Figure 2-9 not appear on a straight line? For what value o ...
39 Chapter 3. Patterns and Domains.............................................................................................. ...
(^40) | Chapter 3: Patterns and Domains patterns to programming at that year’s Conference on Object-Oriented Program- ming Syste ...
Algorithm Pattern Format | 41 Patterns and Domains Each algorithm is presented using a fixed set of sections that conform to our ...
(^42) | Chapter 3: Patterns and Domains Pseudocode Pattern Format Each algorithm in this book is presented with code examples th ...
Design Format | 43 Patterns and Domains You should refer first to the fact sheet and use it as a reference when reading the prov ...
(^44) | Chapter 3: Patterns and Domains (protected) Declares that the attribute or method is visible to the class or any of its ...
Empirical Evaluation Format | 45 Patterns and Domains Figure 3-3. Sample UML diagram Algorithms in a Nutshell Algorithms in a Nu ...
(^46) | Chapter 3: Patterns and Domains Domains and Algorithms Domains became popular in the late 1980s when researchers began t ...
Floating-Point Computations | 47 Patterns and Domains Floating-Point Computations Computers are finite machines that have been d ...
(^48) | Chapter 3: Patterns and Domains One bit is used for the sign, 8 bits form the exponent, and 23 bits form the mantissa (a ...
Floating-Point Computations | 49 Patterns and Domains As you can readily determine, these three points are collinear on the line ...
(^50) | Chapter 3: Patterns and Domains Manual Memory Allocation Most modern programming languages allow the programmer to alloc ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf