Changes between Initial Version and Version 1 of PDAF_get_seedvec


Ignore:
Timestamp:
Mar 14, 2026, 2:08:28 PM (10 hours ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAF_get_seedvec

    v1 v1  
     1= PDAF_get_seedvec =
     2
     3This page documents the routine `PDAF_get_seedvec` of PDAF, which was introduced with PDAF V3.1.
     4
     5This 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 [wiki: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 [wiki:PDAF_set_seed] to se the seed to the stored value to ensure consistent random values.
     6
     7The interface is:
     8{{{
     9  SUBROUTINE PDAF_get_seedvec(seedvec)
     10
     11    INTEGER, INTENT(out) :: seedvec(4)   ! Seed vector
     12}}}
     13
     14**Note:**
     15* If the values of `seedvec` are zero, the routine for generating random matrices was not yet called and is hence uninitialized.
     16* The routine can be used in combination with [wiki:PDAF_set_seedvec].