https://123dok.net/document/q7weoo9v-riemannian-method-optimization-semidefinite-matrices-block-diagonal-constraints.html