function seed = van_der_corput_seed_get ( dummy ) %% VAN_DER_CORPUT_SEED_GET gets the seed of the van der Corput sequence. % % Modified: % % 27 February 2003 % % Author: % % John Burkardt % % Reference: % % J G van der Corput, % Verteilungsfunktionen I & II, % Nederl. Akad. Wetensch. Proc., % Volume 38, 1935, pages 813-820, pages 1058-1066. % % Parameters: % % Input, DUMMY, is a dummy argument to be deleted once I % figure out how to convince MATLAB to allow me to declare % a function with no arguments, but whose invocation can % include parentheses! % % Output, integer SEED, the current value for the seed. % % Global, integer VAN_DER_CORPUT_SEED, the current seed. % global van_der_corput_BASE global van_der_corput_SEED % seed = van_der_corput_SEED;