Snippets tagged random

  • Form changing color

    Windows Forms tutorial showing how to create form with button and how to register an event handler. When the button is clicked, the form changes its background color.

    48 people like this

    Posted: 10 years ago by Tomas Petricek

  • Gaussian Random Sequence

    Normalized Random sequence generator conforming to the user supplied mean and sigma utilizing a "seed factory" instead of the default time of day. The Gaussian sequence is based on the central limit theory, averages together the flat distribution from the random generator built into .NET. Two examples of using normalRand are given to create infinite sequences of white and brown(ian) noise.

    45 people like this

    Posted: 10 years ago by Tony Lee

  • Array Shuffle

    Shuffling array using Seq.fold

    5 people like this

    Posted: 7 years ago by Karlkim Suwanmongkol

  • Magic 8 Ball

    Magic 8 Ball in your console/terminal

    2 people like this

    Posted: 5 years ago by Fabio Galuppo

  • Similar string Markov chain

    Generates strings that are similar to the input, as measured by the probability of a symbol depending on preceding symbols. (Markov chain) The order, which defines how many preceding symbols to look at before placing another, is variable.

    2 people like this

    Posted: 2 years ago by Vandroiy

  • Random string generator

    Creates a random string of length `n` with characters available in `chars` array.

    1 people like this

    Posted: 1 year ago by Johan Irvall