Returns the name.
prbmat = uncprb_getclass(class)
a floating point integer, class = 1 for Systems of Nonlinear Equations, class=2 for Nonlinear Least Squares, class=3 for Unconstrained Minimization, class=4 for Hessian-provided problems
a 1 x p matrix of floating point integers, the problem numbers
Returns the problem numbers which correspond to the given class, as defined by the paper. The numbers are returned as a row vector, so that it can be directly used for a loop.
The order of the problems in the set is the one of the paper.
// Get all nonlinear equation problems prbmat = uncprb_getclass(1) // Get all nonlinear least squares problems prbmat = uncprb_getclass(1) // Get all unconstrained minimization problems prbmat = uncprb_getclass(3) // Get all problems for which the Hessian is provided prbmat = uncprb_getclass(4) // Get all unconstrained minimization problems for which the Hessian is provided prbmat = intersect(uncprb_getclass(3),uncprb_getclass(4)) // See if the Hessian is available for problem #nprob nprob = 1 isHessian = ( find(uncprb_getclass(4)==nprob) <> [] ) | ![]() | ![]() |