ClosedOpen.Double Struct
A double distribution over the closed-open interval [0d, 1d).
Namespace
RandN.Distributions.UnitInterval
Containing Type
ClosedOpen
Interfaces
Base Types
  • object
  • ValueType
ClosedOpen.Double
ValueType
object
IDistribution<double>

Syntax

public readonly struct ClosedOpen.Double : ValueType, IDistribution<double>

Properties

NameProperty TypeSummary
InstanceClosedOpen.Double
Gets the instance of ClosedOpen.Double.
static

Methods

NameReturn ValueSummary
Sample<TRng>(TRng)double
Samples a value from rng, blocking until a suitable value is returned.
TrySample<TRng>(TRng, double)bool
Attempts to sample a value from rng once, returning false if the value returned is not suitable.