Package

monifu

util

Permalink

package util

Visibility
  1. Public
  2. All

Value Members

  1. object Random

    Permalink

    Functions for generating pseudo-random numbers.

    Functions for generating pseudo-random numbers.

    The algorithm used is a "linear congruential generator", the same one used in scala.util.Random or in java.util.Random.

    Note that the generated numbers are not cryptographically secure. Consider instead using java.security.SecureRandom to get a cryptographically secure pseudo-random number generator for use by security-sensitive applications.

    Credits:

    • https://www.manning.com/books/functional-programming-in-scala
    • https://en.wikipedia.org/wiki/Linear_congruential_generator
  2. object math

    Permalink

Ungrouped