Symmetric inverse formula for a matrix-game equilibrium (source code)

= Symmetric inverse formula for a matrix-game equilibrium

If a symmetric invertible payoff matrix satisfies $A^{-1}e\geq0$, both players may use
$$
p=q=\frac{A^{-1}e}{e^TA^{-1}e},
$$
and the game value is $(e^TA^{-1}e)^{-1}$.