Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / random

Random

random

Great Reads

by Minh Danh Nguyen (ToughDev)
How to allow only numeric input in TextBox
by Peter Occil
Algorithms to turn biased "coin flips" into biased "coin flips", and how to code them.
by gggustafson
In this first part, we look at the random arrangement of numbers on a player's Bingo card.
by gggustafson
Print_Cards to produce PDF file containing specified number of unique Bingo cards

Latest Articles

by Minh Danh Nguyen (ToughDev)
How to allow only numeric input in TextBox
by Peter Occil
Algorithms to turn biased "coin flips" into biased "coin flips", and how to code them.
by gggustafson
In this first part, we look at the random arrangement of numbers on a player's Bingo card.
by gggustafson
Print_Cards to produce PDF file containing specified number of unique Bingo cards

All Articles

Sort by Score

random 

by Peter Occil
Algorithms to turn biased "coin flips" into biased "coin flips", and how to code them.
by gggustafson
In this first part, we look at the random arrangement of numbers on a player's Bingo card.
by gggustafson
Print_Cards to produce PDF file containing specified number of unique Bingo cards
by Igor Krein
A library of simple extension methods that could be useful for data generation tasks
by Kornfeld Eliyahu Peter
“Beware the Jabberwock, my son! The jaws that bite, the claws that catch! Beware the Jubjub bird, and shun The frumious Bandersnatch!” - LEWIS CARROLL
by Sal Razzaq
How to fairly pick items from a list
by ASP.NET Community
This is simple and effective method for generation of a random password Public Function GeneratePassword(ByVal PwdLength As Integer) As String
by Peter Occil
Python code for partially-sampled random numbers for accurate arbitrary-precision sampling
by Peter Occil
Most apps that use random numbers care about either unpredictability, high quality, or repeatability. This article explains the three kinds of RNGs and gives recommendations on each kind.
by Peter Occil
Has many ways applications can sample using an underlying (pseudo-)random number generator and includes pseudocode for many of them.
by Member 4201813
How to calculate transition matrix for linear pseudo-random number generator manipulating its internal state
by Member 4201813
Jumping along the System.Random output sequence with logarithmic complexity
by Peter Occil
Some of the most common random generation questions based on a Q&A site question analysis.