'Returns a vector containing the mean values of the discrete
distributions.
A vector is returned containing the mean value of each row of
`xk`, using the probabilities in the corresponding row of
`pk`.'

def mean(self):

    return (self.xk * self.pk).sum(1)
