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(generator)

Full Usage: UnitSphereDistribution(generator)

Parameters:

generator : Generator

Instance members

Instance member Description

this.Maximum

Full Usage: this.Maximum

Returns: float
Modifiers: abstract

Returns: float

this.Mean

Full Usage: this.Mean

Returns: float
Modifiers: abstract

Returns: float

this.Median

Full Usage: this.Median

Returns: float
Modifiers: abstract

Returns: float

this.Minimum

Full Usage: this.Minimum

Returns: float
Modifiers: abstract

Returns: float

this.Mode

Full Usage: this.Mode

Returns: float[]
Modifiers: abstract

Returns: float[]

this.NextDouble

Full Usage: this.NextDouble

Returns: float
Modifiers: abstract

Returns: float

this.NextDoubles

Full Usage: this.NextDoubles

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

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

this.Variance

Full Usage: this.Variance

Returns: float
Modifiers: abstract

Returns: float