particles.distributions.Dirac

class Dirac(loc=0.0)[source]

Dirac mass.

__init__(loc=0.0)[source]

Methods

__init__([loc])

logpdf(x)

pdf(x)

ppf(u)

rvs([size])

shape(size)

Attributes

dim