Name

intprb_getexpect — Returns the expectation of the problem.

Calling Sequence

   e = intprb_getexpect (n,p,nprob)
   
   

Parameters

n:

the number of variables, i.e. the size of x

p:

a matrix of doubles, the parameters of the problem

nprob:

the problem number

e:

a 1 x 1 matrix of doubles, the expectation of the problem

Description

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.

Examples

// Get expectation for the Sum test case
nprob = 1
[n,p] = intprb_getsetup(nprob)
e=intprb_getexpect(n,p,nprob)

   

Authors

Michael Baudin - 2010 - DIGITEO

Bibliography

"Integration Problems User's Manual", Michael Baudin, 2010