Fuente TeX:
H(\mathcal{X}) = H'(\mathcal{X}) = -\sum_{i \in \mathcal{X}}\sum_{j \in \mathcal{X}} \pi_i P_{ij} log\left(P_{ij}\right)