New<T>(T) Method
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

NameDescription
TThe type of the value.

Parameters

NameTypeDescription
valueTThe value.

Return Value

TypeDescription
Singleton<T>