UnitSphereDistribution Type

Vector of three random numbers distributed uniformly on the unit sphere.

             Uses the algorithm of Marsaglia, Ann. Math. Stat 43, 645 (1972).
             On average requires 2.25 deviates per vector and a square root calculation
             Vector of three random numbers (x,y,z) which are distributed uniformly
             on the unit sphere.
            
             Uses the algorithm of Marsaglia, Ann. Math. Stat 43, 645 (1972).
             On average requires 2.25 deviates per vector and a square root calculation

Constructors

Constructor Description

UnitSphereDistribution()

Full Usage: UnitSphereDistribution()

UnitSphereDistribution(ran)

Full Usage: UnitSphereDistribution(ran)

Parameters:

ran : RandomGenerator

Instance members

Instance member Description

this.CDF

Full Usage: this.CDF

Parameters:
    x : float

Returns: float
Modifiers: abstract

x : float
Returns: float

this.NextDouble

Full Usage: this.NextDouble

Returns: float
Modifiers: abstract

Returns: float

this.NextDouble

Full Usage: this.NextDouble

Parameters:
    x : byref<float>
    y : byref<float>
    z : byref<float>

x : byref<float>
y : byref<float>
z : byref<float>

this.PDF

Full Usage: this.PDF

Parameters:
    x : float

Returns: float
Modifiers: abstract

x : float
Returns: float

this.Quantile

Full Usage: this.Quantile

Parameters:
    x : float

Returns: float
Modifiers: abstract

x : float
Returns: float