randn Interface

public interface randn

Generate a normal distributed data scalar or vector. (Specification)


Contents


Functions

private module function randn_0_dp(mean, std) result(random)

Arguments

Type IntentOptional AttributesName
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 IntentOptional AttributesName
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 IntentOptional AttributesName
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 IntentOptional AttributesName
real(kind=sp), intent(in) :: mean
real(kind=sp), intent(in) :: std
integer, intent(in) :: ndim

Return Value real(kind=sp) (ndim)