How to code in python a system $dF/dt=A$ with $F$ and $A$ matrices? : I'd like to code in python a coupled system of differential equations like : 

$dF_{ij}/dt=A_{ij}$ where $A_{ij}$ is a function of the matrix $F$.

Meaning a system of 1st order differential equations.

For the same system but with vectors :    $dF_{i}/dt=A_{i}$ I'm using scipy.integrate.odeint. 
But it doesn't work for matrices.

Could you help please ?

PS: how is it possible to write the math in latex on stackoverflow ?