Lecture 21: Matrix Operations and All-pair Shortest Paths Shang-Hua Teng.
Modeling Real-World Data with Matrices Section 2-3.