Name

intprb_getname — Returns the name.

Calling Sequence

   name = intprb_getname()
   name = intprb_getname(prbmat)
   name = intprb_getname(prbmat,longflag)
   
   

Parameters

prbmat:

a column matrix of matrix of floating point integers, the problem number

longflag :

a 1 x 1 matrix of booleans, if true returns the "long name" - human readable - of the test case. If false, returns the short name. (default = %f)

name:

a column matrix of strings, the names of the problems

Description

Selects the appropriate function based on nprob. If no argument is provided, returns all the short names available in the data base.

See the "Integration Problems User's Manual" available in the doc directory of this toolbox for a detailed description of this function.

Examples

// Get all short names
name = intprb_getname()

// Get the name for Sum test case
nprob = 1
name = intprb_getname(nprob)

// Get all names at once
nprobmax = intprb_getproblems();
name = intprb_getname(1:nprobmax)

// Given a short name, find the problem number
shortname = "roosarnold1"
nprob = find(intprb_getname()==shortname)

   

Authors

Michael Baudin - 2010 - DIGITEO

Bibliography

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