Random

The Random module provides tools for generating random numbers and random sequences in Nelson.

It supports uniform and normal distributions, random integer generation, permutations, and control over the random number generator state.

This module is essential for simulations, probabilistic modeling, and stochastic computations.

Functions

  • rand - Random Number.

  • randi - Random Integer.

  • randn - Normally distributed random number.

  • randperm - Random permutation of integers values.

  • rng - Random Number Generator.

Last updated

Was this helpful?