Represents a probability density function (PDF).
@Methods:
Evaluates this pdf at x.
This method needs implement by children class, if not there is an UnimplementedMethodException
would be throw when the method is called
@Params:
param | type | description |
---|---|---|
x | number | number |
@Returns: float probability density
Makes a discrete version of this pdf, evaluated at xs.
@Params:
param | type | description |
---|---|---|
xs | string | array |
@Returns: new pmf