<< intprb_getfcn Intprbs intprb_getproblems >>

Intprbs >> Intprbs > intprb_getname

intprb_getname

Returns the name.

Calling Sequence

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

Parameters

prbmat:

a m-by-1 matrix of matrix doubles, integer values, the indices of the problem

longflag :

a 1-by-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 m-by-1 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

Bibliography

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


Report an issue
<< intprb_getfcn Intprbs intprb_getproblems >>