public interface randn
Generate a normal distributed data scalar or vector.
(Specification)
Functions
private module function randn_0_dp(mean, std) result(random)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=dp), |
intent(in) |
|
| :: |
mean | |
real(kind=dp), |
intent(in) |
|
| :: |
std | |
Return Value real(kind=dp)
private module function randn_0_sp(mean, std) result(random)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=sp), |
intent(in) |
|
| :: |
mean | |
real(kind=sp), |
intent(in) |
|
| :: |
std | |
Return Value real(kind=sp)
private module function randn_1_dp(mean, std, ndim) result(random)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=dp), |
intent(in) |
|
| :: |
mean | |
real(kind=dp), |
intent(in) |
|
| :: |
std | |
integer, |
intent(in) |
|
| :: |
ndim | |
Return Value real(kind=dp)
(ndim)
private module function randn_1_sp(mean, std, ndim) result(random)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
real(kind=sp), |
intent(in) |
|
| :: |
mean | |
real(kind=sp), |
intent(in) |
|
| :: |
std | |
integer, |
intent(in) |
|
| :: |
ndim | |
Return Value real(kind=sp)
(ndim)