The dimension of the arrays that must be passed as actual arguments to nag_quad_1d_gen_vec_multi_rcomm (d01rac)
are dependent upon a number of factors. nag_quad_1d_gen_vec_multi_dimreq (d01rcc) returns the correct size of these arrays enabling nag_quad_1d_gen_vec_multi_rcomm (d01rac)
to be called successfully.
nag_quad_1d_gen_vec_multi_dimreq (d01rcc) returns the minimum dimension of the arrays x
) and com
) that must be passed to nag_quad_1d_gen_vec_multi_rcomm (d01rac)
to enable the integration to commence given options currently set for the ni
integrands. nag_quad_1d_gen_vec_multi_dimreq (d01rcc) also returns the upper bounds
for the dimension of the arrays icom
, that could possibly be required with the chosen options.
All the minimum values
, and subsequently all the maximum values
may be affected if different options are set, and hence nag_quad_1d_gen_vec_multi_dimreq (d01rcc) should be called after any options are set, and before the first call to nag_quad_1d_gen_vec_multi_rcomm (d01rac)
A segment is here defined as a (possibly maximal) subset of the domain of integration. During subdivision, a segment is bisected into two new segments.
See Section 10
in nag_quad_1d_gen_vec_multi_rcomm (d01rac) for examples of the usage of nag_quad_1d_gen_vec_multi_dimreq (d01rcc).