Snippets tagged random

  • Array shuffle

    Shuffle an array

    53 people like this

    Posted: 7 years ago by Laurent

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

  • Array Shuffle

    Shuffling array using Seq.fold

    4 people like this

    Posted: 4 years ago by Karlkim Suwanmongkol

  • Magic 8 Ball

    Magic 8 Ball in your console/terminal

    2 people like this

    Posted: 2 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.

    0 people like this

    Posted: 2 months ago by Vandroiy