ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
pm_distBern.F90 File Reference

Go to the source code of this file.

Data Types

type  pm_distBern::distBern_type
 This is the derived type for signifying distributions that are of type Bernoulli as defined in the description of pm_distBern. More...
 
interface  pm_distBern::isHead
 Generate and return a scalar (or a vector of length size or an array of the same shape as the input p) containing the odds of getting a head in a single (or a series) of coin-flipping experiment(s).
More...
 
interface  pm_distBern::getBernRand
 Generate and return a scalar or array of rank 1 of length size or the same rank and size as p of Bernoulli-distributed random values (0 or 1) with probability of getting 1 set by the input success probability p.
More...
 
interface  pm_distBern::setBernRand
 Return a scalar or array of arbitrary rank of Bernoulli-distributed random values (0 or 1), with the specified input success probability p. More...
 

Modules

module  pm_distBern
 This module contains classes and procedures for generating Bernoulli-distributed random numbers.

 

Variables

character(*, SK), parameter pm_distBern::MODULE_NAME = SK_"@pm_distBern"