Conventions¶
Lectures are numbered from 0 to 17. Equations are numbered within a lecture by section, (1.1), (1.2), …, figures by lecture, Figure 6.1, Figure 6.2, and figures of the solutions by Figure S6.1, S6.2.
Indices in code start at 0, as in Python; in the text, sequences are indexed from 0 or 1 as stated in each lecture.
Costs are counted as elementary operations of the implementations (comparisons, additions, kernel evaluations, expanded cells), not timed, so that the counts are reproducible.
Logarithms. is used for information in bits and for doubling ratios; is the natural logarithm.
Mental Moves are numbered 1 to 24, as in the playbook.
Synthetic data are labelled synthetic and generated in the notebooks from stated laws; assumed parameters are labelled as assumed.
Symbols¶
| Symbol | Meaning | Lectures |
|---|---|---|
machine epsilon of float64, 2-52 | 0 | |
unit in the last place: spacing of float64 numbers at | 0 | |
| condition number of a computation | 0 | |
| , | dimensional matrix and a vector of exponents with | 1 |
| dimensionless groups | 1, 17 | |
| , | loop invariant and variant (a non-negative integer that decreases) | 2 |
| , | cost of a computation of size and its fitted exponent | 3–5, 14 |
| recurrence of a divide-and-conquer algorithm | 4 | |
| opening angle of the Barnes–Hut tree | 5 | |
| , | value function and optimal action of a dynamic program | 6, 7 |
| , | one-way storage efficiency; discount factor | 7 |
| , , | cost so far, heuristic and their sum in A* | 9 |
| weight of the heuristic in weighted A* | 9 | |
| , , , | earliest and latest start and finish times | 11 |
| , , | entropy, conditional entropy and mutual information, in bits | 12 |
| Kullback–Leibler divergence, in bits | 12 | |
| , , | bits, inserted items and hash functions of a Bloom filter | 13 |
| , | rows and width of a count–min sketch | 13 |
| , , | occupation probability, percolation threshold and lattice size | 14 |
| , | spanning probability and fraction of sites in the largest cluster | 14 |
| , , , | density, flow, maximum speed and dawdling probability of the traffic model | 15 |
| , | angular noise and polarization of the Vicsek model | 15 |
| temperature of simulated annealing | 16 |