I was wondering how to create a matrix and calculate its inverse using sympy in Python?
For example, for this symbolic matrix 
$$ \Sigma = \begin{pmatrix} \sigma_x^2 & \rho \sigma_x \sigma_y \\ \rho \sigma_x \sigma_y & \sigma_y^2 \end{pmatrix} $$
Thank you and welcome!
python matrix sympy
Tim
source share