Series: Deep dives into specific topics
Rotations, quaternions and Lie algebras
Rotation is linear2D rotations3D rotation matricesQuaternionsRotations as reflectionsGeometric algebraLie algebra
This series starts from 2D rotation matrices and takes us through the developments we have made to understand and describe rotations - it covers imaginary numbers, intrinsic and extrinsic rotations, Euler angles, quaternions, geometric algebra and Lie theory.
Matrix calculus and autodiff
Linear operatorGradient of a functionJacobian of a functionKey matrix derivativesFunction is a DAGAutodiff on a DAGVJP and JVPHessian of a function
Starting from the idea of a small change in output given a small change in input, this series builds the concepts of linear operators, gradients and Jacobians, and covers the foundational ideas behind autodiff alongwith links to implementations in PyTorch and JAX.
From Permutations to Sinkhorn
Overview and permutation cyclesPermutation spectraCirculant matricesBirkhoff polytopeDoubly stochastic matricesBirkhoff-von-Neumann algorithmMatrix scalingSinkhorn distance
Explore the journey from the spectral properties of permutations to the geometry of doubly stochastic matrices, Birkhoff’s polytope, and how it all leads to Sinkhorn distances in optimization and machine learning.