stdlib_stats_distribution_PRNG Module


Uses

  • module~~stdlib_stats_distribution_prng~~UsesGraph module~stdlib_stats_distribution_prng stdlib_stats_distribution_PRNG module~stdlib_error stdlib_error module~stdlib_stats_distribution_prng->module~stdlib_error module~stdlib_kinds stdlib_kinds module~stdlib_stats_distribution_prng->module~stdlib_kinds iso_fortran_env iso_fortran_env module~stdlib_error->iso_fortran_env module~stdlib_optval stdlib_optval module~stdlib_error->module~stdlib_optval module~stdlib_kinds->iso_fortran_env module~stdlib_optval->module~stdlib_kinds

Contents


Interfaces

public interface dist_rand

Version experimental

Read more…
  • private function dist_rand_iint8(n) result(res)

    Random integer generation for various kinds result = [-2^k, 2^k - 1], k = 7, 15, 31, 63, depending on input kind Result will be operated by bitwise operators to generate desired integer and real pseudorandom numbers

    Arguments

    Type IntentOptional AttributesName
    integer(kind=int8), intent(in) :: n

    Return Value integer(kind=int8)

  • private function dist_rand_iint16(n) result(res)

    Random integer generation for various kinds result = [-2^k, 2^k - 1], k = 7, 15, 31, 63, depending on input kind Result will be operated by bitwise operators to generate desired integer and real pseudorandom numbers

    Arguments

    Type IntentOptional AttributesName
    integer(kind=int16), intent(in) :: n

    Return Value integer(kind=int16)

  • private function dist_rand_iint32(n) result(res)

    Random integer generation for various kinds result = [-2^k, 2^k - 1], k = 7, 15, 31, 63, depending on input kind Result will be operated by bitwise operators to generate desired integer and real pseudorandom numbers

    Arguments

    Type IntentOptional AttributesName
    integer(kind=int32), intent(in) :: n

    Return Value integer(kind=int32)

  • private function dist_rand_iint64(n) result(res)

    Random integer generation for various kinds result = [-2^k, 2^k - 1], k = 7, 15, 31, 63, depending on input kind Result will be operated by bitwise operators to generate desired integer and real pseudorandom numbers

    Arguments

    Type IntentOptional AttributesName
    integer(kind=int64), intent(in) :: n

    Return Value integer(kind=int64)

public interface random_seed

Version experimental

Read more…
  • private subroutine random_distribution_seed_iint8(put, get)

    Set seed value for random number generator

    Arguments

    Type IntentOptional AttributesName
    integer(kind=int8), intent(in) :: put
    integer(kind=int8), intent(out) :: get
  • private subroutine random_distribution_seed_iint16(put, get)

    Set seed value for random number generator

    Arguments

    Type IntentOptional AttributesName
    integer(kind=int16), intent(in) :: put
    integer(kind=int16), intent(out) :: get
  • private subroutine random_distribution_seed_iint32(put, get)

    Set seed value for random number generator

    Arguments

    Type IntentOptional AttributesName
    integer(kind=int32), intent(in) :: put
    integer(kind=int32), intent(out) :: get
  • private subroutine random_distribution_seed_iint64(put, get)

    Set seed value for random number generator

    Arguments

    Type IntentOptional AttributesName
    integer(kind=int64), intent(in) :: put
    integer(kind=int64), intent(out) :: get