DiracKernel

The Dirac kernel with conditional mean prameter $\mu$ is denotd by

\[k(y\mid x) = \delta(y - \mu(x)).\]

Types

Type aliases

const AffineDiracKernel{T} = DiracKernel{T,<:AbstractAffineMap}

Constructors

MarkovKernels.DiracKernelMethod
DiracKernel(Φ::AbstractMatrix, Σ)

Creates a DiracKernel with a linear conditional mean function given by

x ↦ Φ * x.
source
MarkovKernels.DiracKernelMethod
DiracKernel(Φ::AbstractMatrix, b::AbstractVector, Σ)

Creates a DiracKernel with an affine conditional mean function given by

x ↦ b + Φ * x.
source
MarkovKernels.DiracKernelMethod
DiracKernel(Φ::AbstractMatrix, b::AbstractVector, c::AbstractVector, Σ)

Creates a DiracKernel with an affine corrector conditional mean function given by

x ↦ b + Φ * (x - c).
source

Basics

Statistics.meanMethod
mean(K::AbstractDiracKernel)

Computes the conditonal mean function of the Dirac kernel K. That is, the output is callable.

source

Conditioning and sampling

MarkovKernels.conditionMethod
condition(K::AbstractDiracKernel, x)

Returns a Dirac distribution corresponding to the Dirac kernel K evaluated at x.

source
Base.randMethod
rand(::AbstractRNG, K::AbstractDiracKernel, x::AbstractVector)

Computes a random vector conditionally on x with respect the the Dirac kernel K using the random number generator RNG. Equivalent to mean(K)(x).

source
Base.randMethod
rand(K::AbstractDiracKernel, x::AbstractVector)

Computes a random vector conditionally on x with respect the the Dirac kernel K using the random number generator Random.GLOBAL_RNG. Equivalent to mean(K)(x).

source