Class RandomUtils
This class provide different random distribution function.
Inherited Members
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/ |