Click or drag to resize

GeometricPMF Method

Computes the probability mass (PMF) at k, i.e. P(X = k).

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double PMF(
	double p,
	int k
)

Parameters

p  Double
The probability (p) of generating one. Range: 0 ≤ p ≤ 1.
k  Int32
The location in the domain where we want to evaluate the probability mass function.

Return Value

Double
the probability mass at location k.
See Also