A uniform distribution of type
System.SByte.- Namespace
- RandN
.Distributions - Interfaces
- IDistribution
<sbyte>
- IDistribution
- Base Types
- object
- ValueType
Syntax
public readonly struct UniformSByte : ValueType, IDistribution<sbyte>Methods
| Name | Return Value | Summary |
|---|---|---|
| Create | UniformSByte | Creates a UniformSByte with an exclusive upper bound. Should not be used directly; instead, use New(sbyte, sbyte).static |
| CreateInclusive | UniformSByte | Creates a UniformSByte with an exclusive lower bound. Should not be used directly; instead, use NewInclusive(sbyte, sbyte).static |
| Sample | sbyte | 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. |