g02zkf either initializes or resets the optional parameter arrays or sets a single optional parameter for supported problem solving routines in
Chapter G02. Currently, only
g02qgf is supported.
Optional parameters and their values are, in general, presented as a character string,
optstr, of the form ‘
option ’; alphabetic characters can be supplied in either upper or lower case. Both
option and
may consist of one or more tokens separated by white space. The tokens that comprise
will normally be either an integer, real or character value as defined in the description of the specific optional argument. In addition all optional parameters can take an
DEFAULT which resets the optional parameter to its default value.
It is imperative that optional parameter arrays are initialized before any options are set, before the relevant problem solving routine is called and before any options are queried using
g02zlf. To initialize the optional parameter arrays
iopts and
opts for a specific problem solving routine, the option
Initialize is used with
identifying the problem solving routine to be called. For example, to initialize optional parameter arrays to be passed to
g02qgf,
g02zkf is called as follows:
Note that the routine name may be abbreviated to just the first five letters of the ‘short’ name, or by omitting the nagf_ or correg_ prefixes of the ‘long’ name. So the above may be equivalently specified as 'Initialize = g02qg' or 'Initialize = quantile_linreg'.
Information relating to available option names and their corresponding valid values is given in
Section 12 in
g02qgf.
None.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
x04aaf).
Not applicable.
Not applicable.
See the example programs associated with the problem solving routine you wish to use for a demonstration of how to use g02zkf to initialize option arrays and set options.