wiki:PDAF_generate_rndmat

Version 1 (modified by lnerger, 12 hours ago) ( diff )

--

PDAF3_get_fcst_info

This page documents the routine PDAF_generate_rndmat of PDAF.

The routine returns a random matrix with special properties.

The interface is the following:

  SUBROUTINE PDAF_generate_rndmat(dim, rndmat, mattype)

with the following arguments:

  INTEGER, INTENT(in) :: dim         ! Size of matrix rndmat
  REAL, INTENT(out)   :: rndmat(dim, dim) ! Matrix
  INTEGER, INTENT(in) :: mattype     ! Select type of random matrix:
                                     !   (1) orthonormal random matrix
                                     !   (2) orthonormal with eigenvector (1,...,1)^T

Note:

  • This matrix is e.g. used internally by PDAF_sampleens for second-order exact sampling.
Note: See TracWiki for help on using the wiki.