Dirac
The Dirac distribution with parameter $\mu$ is a distribution putting all probabiltiy mass on $\mu$. It is denoted by
\[\delta(x -\mu).\]
Types
MarkovKernels.AbstractDirac
— TypeAbstractDirac{T<:Number}
Abstract type for representing Dirac random vectors taking values in T.
MarkovKernels.Dirac
— TypeDirac{T<:Number}
Type for representing Dirac random vectors taking values in T.
Constructors
MarkovKernels.Dirac
— MethodDirac{T}(D::Dirac{U,V})
Computes a Dirac distribution of eltype T from the Dirac distribution D if T and U are compatible. That is T and U must both be Real or both be Complex.
MarkovKernels.Dirac
— MethodDirac{T}(D::Dirac{U,V})
Computes a Dirac distribution of eltype T from the Dirac distribution D if T and U are compatible. That is T and U must both be Real or both be Complex.
Basics
MarkovKernels.dim
— Methoddim(D::AbstractDirac)
Returns the dimension of the Dirac distribution D.
Statistics.mean
— Methodmean(D::AbstractDirac)
Computes the mean vector of the Dirac distribution D.
Sampling
Base.rand
— Methodrand(RNG::AbstractRNG, D::AbstractDirac)
Computes a random vector distributed according to the Dirac distribution D using the random number generator RNG. Equivalent to mean(D).