Calculate expected value of a function with respect to the distribution
Location and scale only tested on a few examples.
func : callable, optional
args : tuple, optional
lb, ub : scalar, optional
conditional : bool, optional
Additional keyword arguments are passed to the integration routine. :
expected value : float
This function has not been checked for it’s behavior when the integral is not finite. The integration behavior is inherited from integrate.quad.