On entry: a valid C format code. This should be of the form
, where
indicates that up to two digits may be used to specify the field width and precision respectively. Only % and
must be present.
can be one of
,
,
or # and
can be e, E, f, g or G. Thus, possible formats include %f,
, %.6e.
form is used in conjunction with argument
cmplxform, to print elements of the matrix
.
In addition, nag_pack_complx_mat_print_comp (x04ddc) chooses its own format code when
form is
NULL or
.
If , nag_pack_complx_mat_print_comp (x04ddc) will choose a format code such that numbers will be printed with either a %8.4f, a %11.4f or a %13.4e format. The %8.4f code is chosen if the sizes of all the matrix elements to be printed lie between and . The %11.4f code is chosen if the sizes of all the matrix elements to be printed lie between and . Otherwise the %13.4e code is chosen.
If , nag_pack_complx_mat_print_comp (x04ddc) will choose a format code such that numbers will be printed to as many significant digits as are necessary to distinguish between neighbouring machine numbers. Thus any two numbers that are stored with different internal representations should look different on output.
More complicated values of
form, to print a Complex number in a desired form, may be used. See the description of argument
cmplxform above for more details.