Returns the probability density function evaluated at a given value.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public override double PDF( double x ) |
| Visual Basic (Declaration) |
|---|
Public Overrides Function PDF ( _ x As Double _ ) As Double |
| Visual C++ |
|---|
public: virtual double PDF( double x ) override |
Parameters
- x
- Type: System..::.Double
A position on the x-axis greater than or equal to 0.
Return Value
The probability density function evaluated at x.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the input value x is negative. |