>>van_der_corput_test 27-Feb-2003 16:57:55 van_der_corput_test Sample problems for van_der_corput. VAN_DER_CORPUT_TEST01 VAN_DER_CORPUT returns the next element of a van der Corput sequence in the current base. I R 0 0.000000 1 0.500000 2 0.250000 3 0.750000 4 0.125000 5 0.625000 6 0.375000 7 0.875000 8 0.062500 9 0.562500 10 0.312500 VAN_DER_CORPUT_TEST02 VAN_DER_CORPUT_SEQUENCE returns N elements of a van der Corput sequence in the current base. I R 0 0.000000 1 0.500000 2 0.250000 3 0.750000 4 0.125000 5 0.625000 6 0.375000 7 0.875000 8 0.062500 9 0.562500 VAN_DER_CORPUT_TEST03 VAN_DER_CORPUT_SEED_SET sets the seed; VAN_DER_CORPUT_SEED_GET gets the seed; In this test, we demonstrate computing elements affects the seed, and how resetting the seed determines the next element computed. We start at element 0 and compute 10 elements. 0 0.000000 1 0.500000 2 0.250000 3 0.750000 4 0.125000 5 0.625000 6 0.375000 7 0.875000 8 0.062500 9 0.562500 The current seed is 10 We jump back to element 6 and compute 10 elements. 6 0.375000 7 0.875000 8 0.062500 9 0.562500 10 0.312500 11 0.812500 12 0.187500 13 0.687500 14 0.437500 15 0.937500 The current seed is 16 We restart at element 0 and compute 6 elements. 0 0.000000 1 0.500000 2 0.250000 3 0.750000 4 0.125000 5 0.625000 The current seed is 6 We jump to element 100 and compute 5 elements. 100 0.148438 101 0.648438 102 0.398438 103 0.898438 104 0.085938 The current seed is 105 VAN_DER_CORPUT_TEST05 I_TO_VAN_DER_CORPUT returns the I-th element of a van der Corput sequence to a given base. Base Seed R 2 0 0.000000 1 0.500000 2 0.250000 3 0.750000 4 0.125000 5 0.625000 6 0.375000 7 0.875000 8 0.062500 9 0.562500 10 0.312500 3 0 0.000000 1 0.333333 2 0.666667 3 0.111111 4 0.444444 5 0.777778 6 0.222222 7 0.555556 8 0.888889 9 0.037037 10 0.370370 4 0 0.000000 1 0.250000 2 0.500000 3 0.750000 4 0.062500 5 0.312500 6 0.562500 7 0.812500 8 0.125000 9 0.375000 10 0.625000 5 0 0.000000 1 0.200000 2 0.400000 3 0.600000 4 0.800000 5 0.040000 6 0.240000 7 0.440000 8 0.640000 9 0.840000 10 0.080000 VAN_DER_CORPUT_TEST06 I_TO_VAN_DER_CORPUT_SEQUENCE returns N elements of a van der Corput sequence to a given base. Base Seed R 2 0 0.000000 1 0.500000 2 0.250000 3 0.750000 4 0.125000 5 0.625000 6 0.375000 7 0.875000 8 0.062500 9 0.562500 3 0 0.000000 1 0.333333 2 0.666667 3 0.111111 4 0.444444 5 0.777778 6 0.222222 7 0.555556 8 0.888889 9 0.037037 4 0 0.000000 1 0.250000 2 0.500000 3 0.750000 4 0.062500 5 0.312500 6 0.562500 7 0.812500 8 0.125000 9 0.375000 5 0 0.000000 1 0.200000 2 0.400000 3 0.600000 4 0.800000 5 0.040000 6 0.240000 7 0.440000 8 0.640000 9 0.840000 van_der_corput_test Normal end of execution. 27-Feb-2003 16:57:55