<< lowdisc_getpath Support Functions lowdisc_plotelembox >>

Low Discrepancy >> Low Discrepancy > Support Functions > lowdisc_plotbmbox

lowdisc_plotbmbox

Plot all elementary boxes with volume b^m

Calling Sequence

lowdisc_plotbmbox(b,m)
lowdisc_plotbmbox(b,m,u)

Parameters

b :

a 1-by-1 matrix of doubles, integer value, the basis

m :

a 1-by-1 matrix of doubles, integer value, the m parameter in the (t,m,s)-net

u :

a npoints-by-2 matrix of doubles, the point set to plot. Default is to plot no point set.

Description

Plot all the elementary intervals with volume b^m. Compute all decompositions d which sum to m. Then plot the elementary intervals in base b with directions d.

If the point set u is provided, we plot it.

Examples

// Plot all elementary intervals with volume 1/2^3
scf();
lowdisc_plotbmbox(2,3)

// Plot elementary intervals with volume 1/2^3,
// and add Sobol points (insert zero).
[ u , evalf ] = lowdisc_ldgen ( 2^4-1 , 2 );
u = [0,0;u];
scf();
lowdisc_plotbmbox(2,3,u);

Bibliography

"Random number generation and quasi-Monte Carlo methods", H. Niederreiter, CBMS-NSF Series in Applied Mathematics, No. 63, SIAM, Philadelphia, 1992.

Authors


Report an issue
<< lowdisc_getpath Support Functions lowdisc_plotelembox >>