Rev Language Reference


dnPointMass - Point Mass Distribution

Point mass distribution.

Aliases

  • dnDiracDelta

Usage

dnPointMass(Real value)

Arguments

value : Real (pass by const reference)
The value where mass is concentrated.

Domain Type

Details

The point mass distribution, or Dirac delta function, has density f(x) = 1 when x is equal to the point mass value.

Example

u ~ dnPointMass(1.2)