nag_g02_opt_get (g02zlc) is used to query the value of optional arguments available to supported problem solving functions in Chapter g02
. Currently, only nag_regsn_quant_linear (g02qgc)
nag_g02_opt_get (g02zlc) is used to query the current values of options. It is necessary to initalize optional argument arrays using nag_g02_opt_set (g02zkc)
before any options are queried.
nag_g02_opt_get (g02zlc) will normally return either an integer, real or character value dependent upon the type associated with the optional argument being queried. Whether the option queried is of integer, real or character type is indicated by the returned value of optype
Information on optional argument names and whether these options are real, integer or character can be found in Section 12
in nag_regsn_quant_linear (g02qgc).
See the example programs associated with the problem solving function you wish to use for a demonstration of how to use nag_g02_opt_get (g02zlc) to query options.