$ fNone>A function that takes an index and value and returns a value.  See  and  for examples. 8Constraint type. A function and the constant it equals. Think of it as the pair (f, c) in the constraint     p  f(a, x ) = c -such that we are summing over all values and a is the index. +For example, for a variance constraint the f would be (\ _ x -> x*x) and c would be the variance. KThe main entry point for computing discrete maximum entropy distributions.  DA pair of values that the distributions is over and the constraints HEither the a discription of what wrong or the probability distribution   None     maxent-0.2.0.0MaxEntMaxEnt.InternalExpectationFunction Constraint constraintaveragevariancemaxentsumWithpOfKprobs partitionFunc objectiveFunc toFunction toGradient toDoubleF