Module fnn_common
. Implements some common features.
More...
Functions/Subroutines | |
subroutine, public | rand1d (x) |
Fills a 1d table with random numbers. More... | |
subroutine, public | rand2d (x) |
Fills a 2d table with random numbers. More... | |
Variables | |
integer, parameter, public | rk = real64 |
The precision for real numbers. More... | |
integer, parameter, public | ik = int32 |
The precision for integer numbers. More... | |
Module fnn_common
. Implements some common features.
We should implement a common interface to rand1d and rand2d, but doxygen does not handle Fortran interfaces...
subroutine, public fnn_common::rand1d | ( | real(rk), dimension(:), intent(out) | x | ) |
Fills a 1d table with random numbers.
The random numbers are drawn from a uniform distribution in [0, 1].
[out] | x | The 1d table of real numbers to fill. |
subroutine, public fnn_common::rand2d | ( | real(rk), dimension(:, :), intent(out) | x | ) |
Fills a 2d table with random numbers.
The random numbers are drawn from a uniform distribution in [0, 1].
[out] | x | The 2d table of real numbers to fill. |
integer, parameter, public fnn_common::ik = int32 |
The precision for integer numbers.
integer, parameter, public fnn_common::rk = real64 |
The precision for real numbers.