TrySample<TRng>(TRng, TimeSpan) Method
Attempts to sample a value from rng once, returning false if the value returned is not suitable.
Namespace
RandN.Distributions
Containing Type
UniformTimeSpan
Implements

Syntax

public bool TrySample<TRng>(TRng rng, out TimeSpan result) where TRng : IRng

Type Parameters

NameDescription
TRng

Parameters

NameTypeDescription
rngTRng
resultTimeSpan

Return Value

TypeDescription
bool