Creates a singleton distribution containing a single value.
- Namespace
- RandN
.Distributions - Containing Type
- Singleton
Syntax
public static Singleton<T> New<T>(T value)Type Parameters
| Name | Description |
|---|---|
| T | The type of the value. |
Parameters
| Name | Type | Description |
|---|---|---|
| value | T | The value. |
Return Value
| Type | Description |
|---|---|
| Singleton |