11 use, 
intrinsic :: iso_c_binding
    28 subroutine random_c(kk, pp) bind(C,name='random_f')
    29   use, 
intrinsic :: iso_c_binding
    31   integer(c_int), 
intent(in) :: kk
    32   real(kind=c_double), 
intent(out) :: pp
    44 real(kind=kind_real), 
intent(inout) :: xx(:)
    45 real(kind=c_double) :: zz(size(xx))
    59 real(kind=kind_real), 
intent(inout) :: xx(:,:)
    60 real(kind=c_double) :: zz(size(xx))
    65 xx = reshape(zz, shape(xx))
    74 real(kind=kind_real), 
intent(inout) :: xx(:,:,:)
    75 real(kind=c_double) :: zz(size(xx))
    80 xx = reshape(zz, shape(xx))
    87 real(kind=kind_real), 
intent(inout) :: xx(:,:,:,:)
    88 real(kind=c_double) :: zz(size(xx))
    93 xx = reshape(zz, shape(xx))
 Fortran generic for generating random 1d, 2d and 3d arrays. 
 
subroutine random_vector_3(xx)
Generate a random 3d array of reals. 
 
subroutine random_vector_2(xx)
Generate a random 2d array of reals. 
 
subroutine random_vector_1(xx)
Generate a random 1d array of reals. 
 
subroutine random_vector_4(xx)
Generate a random 4d array of reals. 
 
Fortran module for generating random vectors.