intprb_getcrudeld — Uses a crude Quasi Monte-Carlo to estimate the integral.
integr = intprb_getcrudeld ( nprob , n , p , callf ) integr = intprb_getcrudeld ( nprob , n , p , callf , ldseq )
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 strings, the name of the sequence (Default = "sobolf"). The list of available sequences can be computed by lowdisc_methods().
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 Quasi Monte-Carlo to approximate the integral corresponding to the nprob problem. The computation is based on a Low Discrepancy sequence. This function is a wrapper on intprb_crudeld.