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.

    47 people like this

    Posted: 6 years ago by Tomas Petricek

  • Random Type with a few modifications

    The modified Random type is built on top of System.Random type. It has a member Seed which returns a seed and NextFloat has the same overloads as NextInt (Next in System.Random). The members should further support units of measure.

    17 people like this

    Posted: 6 years ago by Oldrich Svec

  • 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: 6 years ago by Tony Lee

  • Array Shuffle

    Shuffling array using Seq.fold

    4 people like this

    Posted: 3 years ago by Karlkim Suwanmongkol

  • Pseudoword generator

    Pseudoword generator based on code from Evan Fosmark circa 2009.

    1 people like this

    Posted: 1 years ago by Phillip Trelford