https://123dok.net/document/yng7vr00-nearly-principal-minors-span-class-mathjax-formula-matrices.html