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

Syntax

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

Properties

NameProperty TypeSummary
InstanceOpen.Double
Gets the instance of Open.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.