Attempts to sample a value from rng once, returning false if the value returned is not suitable. If 
- Namespace
- RandN.Distributions 
- Containing Type
- Uniform.UInt64 
- Implements
- IDistribution<ulong> .TrySample <TRng> (TRng, ulong) 
 
- IDistribution
Syntax
public bool TrySample<TRng>(TRng rng, out ulong result) where TRng : notnull, IRngType Parameters
| Name | Description | 
|---|---|
| TRng | 
Parameters
| Name | Type | Description | 
|---|---|---|
| rng | TRng | |
| result | ulong | 
Return Value
| Type | Description | 
|---|---|
| bool |