| | 1 | = PDAF3_get_fcst_info = |
| | 2 | |
| | 3 | This page documents the routine `PDAF_generate_rndmat` of PDAF. |
| | 4 | |
| | 5 | The routine returns a random matrix with special properties. |
| | 6 | |
| | 7 | The interface is the following: |
| | 8 | {{{ |
| | 9 | SUBROUTINE PDAF_generate_rndmat(dim, rndmat, mattype) |
| | 10 | }}} |
| | 11 | with the following arguments: |
| | 12 | {{{ |
| | 13 | INTEGER, INTENT(in) :: dim ! Size of matrix rndmat |
| | 14 | REAL, INTENT(out) :: rndmat(dim, dim) ! Matrix |
| | 15 | INTEGER, INTENT(in) :: mattype ! Select type of random matrix: |
| | 16 | ! (1) orthonormal random matrix |
| | 17 | ! (2) orthonormal with eigenvector (1,...,1)^T |
| | 18 | }}} |
| | 19 | |
| | 20 | **Note:** |
| | 21 | * This matrix is e.g. used internally by PDAF_sampleens for second-order exact sampling. |