Appendix B — Math Refresher

B.1 Probability for diffusion

B.2 The linear algebra of attention

B.3 Convolution as matrix multiplication