| RandGenGeometric(Double, Int32) Constructor |
Constructs a random number generator using a seeded
RandGenMTest as the
underlying uniform random number generator. The generated deviates will
follow a Geometric distribution with probability of success
.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public RandGenGeometric(
double p,
int seed
)
Public Sub New (
p As Double,
seed As Integer
)
public:
RandGenGeometric(
double p,
int seed
)
new :
p : float *
seed : int -> RandGenGeometric
Parameters
- p Double
- Probability of success.
- seed Int32
- Random number seed.
Exceptions See Also