- categories: Linear algebra, Cheat Sheet
1. Scalar with Respect to a Vector
-
Gradient of a Linear Function
-
Gradient of a Quadratic Function
(where is symmetric) -
Gradient of a Norm
-
Gradient of the Dot Product
-
Gradient of the Log-Sum-Exp Function
2. Vector with Respect to a Vector
-
Derivative of a Vector-Vector Product
-
Derivative of a Norm-Squared
3. Scalar with Respect to a Matrix
-
Derivative of Trace
-
Derivative of a Quadratic Form
-
Derivative of Trace with Matrix Multiplication
4. Matrix with Respect to a Matrix
-
Derivative of a Matrix Product
-
Derivative of a Quadratic Form