Bernoulli string (source code)

= Bernoulli string

A Bernoulli string is a finite sequence of independent binary digits, each taking value one with a specified <probability>. Unless stated otherwise, all positions use the same probability.