Returns the function vector, the Jacobian and, if available, the Hessian.
fvec=uncprb_getfunc(n,m,x,nprob,option) [fvec,J]=uncprb_getfunc(n,m,x,nprob,option) [fvec,J,H]=uncprb_getfunc(n,m,x,nprob,option)
the number of variables, i.e. the size of x
the number of functions, i.e. the size of fvec
a n x 1 matrix of doubles, the point where to compute f
the problem number
option=1 set fvec only (J=[]), option=2 set J only (fvec=[]), option= 3 set fvec and J, option= 4 set fvec, J and H
a m x 1 matrix of doubles, the vector (f1(x), f2(x), ... fm(x))^T
a m x n matrix of doubles, the Jacobian matrix, dfi(x)/dxj, i=1,..,m , j=1, ..., n
a n x n matrix of doubles, the Hessian matrix, d^2f(x)/dxi/dxj, i,j=1,..,n
Selects the appropriate test function based on nprob.