D01ZKF either initializes or resets the optional parameter arrays or sets a single optional parameter for supported problem solving routines in
Chapter D01.
D01ZKF has three purposes: to initialize optional parameter arrays; to reset all optional parameters to their default values; or to set a single optional parameter to a user-supplied value.
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
D01ZLF. To initialize the optional parameter arrays
IOPTS and
OPTS for a specific problem solving routine, the option
Initialize is used with
optval identifying the problem solving routine to be called, via its short name. For example, to initialize the optional parameter arrays to be passed to
D01RAF, and its associated routines
D01RBF and
D01RCF, D01ZKF is called as follows:
call D01ZKF('Initialize = d01raf', IOPTS, LIOPTS, OPTS, LOPTS, IFAIL)
The available option names and their corresponding valid values are given in
Section 10 in D01RAF.
None.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
X04AAF).
Not applicable.
For suites of routines that share the same option arrays, the option arrays must be initialized using the primary (driver) routine name.
For example for the suite of routines
D01RAF,
D01RBF and
D01RCF, the option arrays must be initialized for
D01RAF.
See the example programs associated with the problem solving routine you wish to use for a demonstration of how to use D01ZKF to initialize option arrays and set options.