$$ [(U-V)^{-1}X^{T}Y]^{T}\;[(U-V)^{-1}X^{T}Y] = I. $$
Here $U$ and $V$ are symmetric $d \times d$ matrices; $X=[x_1,x_2,...,x_n]$ is an $n \times d$ data matrix ($n$ is the number of samples and $d$ is the number of data dimensions); $Y \in \{0,1\}^{n \times c}$ is an label matrix ($c$ is the number of classes). When $x_i$ belongs to class $j$, $1\leq j\leq c$, the $i$-th row and $j$-th column of $Y$ are set to 1.