def var(self, alpha):
        """
        Compute the variance of the dirichlet distribution.

        Parameters
        ----------
        %(_dirichlet_doc_default_callparams)s

        Returns
        -------
        v : scalar
            Variance of the Dirichlet distribution

        """

        alpha = _dirichlet_check_parameters(alpha)

        alpha0 = np.sum(alpha)
        out = ((alpha0 * alpha0) * (alpha0 + 1)) / (alpha * (alpha0 - alpha))
        return out
dataset/ETHPy150Open scipy/scipy/scipy/stats/_multivariate.py/dirichlet_gen.var/swapped operands of `/`