intprb_getexpect — Returns the expectation of the problem.
e = intprb_getexpect (n,p,nprob)
the number of variables, i.e. the size of x
a matrix of doubles, the parameters of the problem
the problem number
a 1 x 1 matrix of doubles, the expectation of the problem
It is an interface function which calls the function getfunc (which selects appropriate test function based on nprob). Currently, all functions are designed to have a zero integral.
See the "Integration Problems User's Manual" available in the doc directory of this toolbox for a detailed description of this function.