intprb_getcrudemc — Uses a crude Monte-Carlo to estimate the integral.
[ integr , accur , varf ] = intprb_getcrudemc ( nprob , n , p , callf )
the problem number
a 1 x 1 matrix of floating point integers, the spatial dimension.
a floating point matrix, the parameters of the problem
a 1 x 1 matrix of floating point integers, the number of calls to the function (default = 1.e4)
a 1 x 1 matrix of doubles, the approximate value of the integral, the mean of the function.
a 1 x 1 matrix of doubles, the estimated error on the integral.
a 1 x 1 matrix of doubles, the approximate value of the variance of f.
Uses a crude Monte-Carlo to approximate the integral corresponding to the nprob problem. This function is a wrapper on intprb_crudemc.