| 3 | | This page documents the routine `PDAF_set_seedvec` of PDAF, which was introduced with PDAF V3.1. |
| 4 | | |
| 5 | | This routine can be used to explicitly set a seed vector which controls the random vector generation. (See also [wiki:PDAF_set_seedset], which allows to choose a predefined seed vector from 20 different choices) |
| 6 | | |
| 7 | | The interface is: |
| 8 | | {{{ |
| 9 | | SUBROUTINE PDAF_set_seedvec(seedvec) |
| 10 | | |
| 11 | | INTEGER, INTENT(in) :: seedvec(4) ! Seed vector (the last element needs to be odd) |
| 12 | | }}} |
| 13 | | |
| 14 | | **Note:** |
| 15 | | * One needs to ensure that the last element of `seedvec` is an odd value (The routine does not check this) |
| 16 | | * Compared to the routine `PDAF_set_seedset`, this routine allows for a finer control of random numbers |
| 17 | | * The routine can be used in combination with [wiki:PDAF_get_seedvec]. |
| | 3 | This routine is an alias to [wiki:PDAF_set_seedvec]. |