A
float
distribution over the closed-open interval [0f, 1f).- Namespace
- RandN
.Distributions .UnitInterval - Containing Type
- ClosedOpen
- Interfaces
- IDistribution
<float>
- IDistribution
- Base Types
- object
- ValueType
Syntax
public readonly struct ClosedOpen.Single : ValueType, IDistribution<float>
Properties
Name | Property Type | Summary |
---|---|---|
Instance | ClosedOpen | Gets the instance of ClosedOpen.Single .static |
Methods
Name | Return Value | Summary |
---|---|---|
Sample | float | Samples a value from rng, blocking until a suitable value is returned. |
TrySample | bool | Attempts to sample a value from rng once, returning false if the value returned is not suitable. |