docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RandomUtils

    This class provide different random distribution function.

    Inheritance
    object
    RandomUtils
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SensorSDK
    Assembly: solution.dll
    Syntax
    public class RandomUtils

    Fields

    Name Description
    rand

    A uniform random distribution.

    Methods

    Name Description
    NormalRandom(float)

    Generate a normal distributed random numbers from a uniform distribution.

    Permutation(int)

    Generates a permutation of the integers from 0 to n-1.

    PoissonRandom(double)

    Sample from a poisson distribution Code from: https://www.johndcook.com/blog/csharp_poisson/

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)