matrix_calculus Use python to take derivative of matrix equations! How to install pip install matrix-calculus Demo https://colab.research.google.com/drive/1Zaux8Kz08aALGxadNq5nID2pq9ckvN8f?usp=sharing