docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PoissonRandom

    PoissonRandom(double)

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

    Declaration
    public static float PoissonRandom(double lambda)
    Parameters
    Type Name Description
    double lambda

    mean of the distribution

    Returns
    Type Description
    float

    Sample taken from Poisson(lambda)

    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)