PDAF_get_seedvec
This page documents the routine PDAF_get_seedvec of PDAF, which was introduced with PDAF V3.1.
This routine can be used to retrieve the current seed seed vector used in the random number generation of PDAF which is used for random matrices in the PDAF analysis steps. If one uses the random matrix routine PDAF_generate_rndmat at different places in the user code, or if one changes the size of the state vector, the number of random value calls can vary. This routine allows to store the seed value. Later one can use PDAF_set_seed to se the seed to the stored value to ensure consistent random values.
The interface is:
SUBROUTINE PDAF_get_seedvec(seedvec)
INTEGER, INTENT(out) :: seedvec(4) ! Seed vector
Note:
- If the values of
seedvecare zero, the routine for generating random matrices was not yet called and is hence uninitialized. - The routine can be used in combination with PDAF_set_seedvec.
Last modified
8 hours ago
Last modified on Mar 14, 2026, 2:08:28 PM
Note:
See TracWiki
for help on using the wiki.
