On entry: the dimension of the
STATE array, or a value
<1. If the Mersenne Twister (
GENID=3) is being used and the skip ahead routine
G05KJF or
G05KKF will be called subsequently, then you must ensure that
LSTATE≥1260.
On exit: if
LSTATE<1 on entry, then the required length of the
STATE array for the chosen base generator, otherwise
LSTATE is unchanged. When
GENID=3 (Mersenne Twister) a value of
1260 is returned, allowing for the skip ahead routine to be subsequently called. In all other cases the minimum length, as documented in the constraints below, is returned.