Affine maps

An affine map is a function $f$ given by

\[ f(x) = A x + b,\]

where $A$ is the slope and $b$ is the intercept. Different representations of affine maps are sometimes useful, as documented below.

Types

Constructors

MarkovKernels.AffineCorrectorMethod
AffineCorrector(A::AbstractMatrix, b::AbstractVector, c::AbstractVector)

Creates an Affine Corrector with slope A and intercept b - A * c.

source

Basics

MarkovKernels.composeMethod
compose(F2::AbstractAffineMap, F1::AbstractAffineMap)

Computes the affine map F3 resulting from the composition F2 ∘ F1.

source
Base.:*Method
*(F2::AbstractAffineMap, F1::AbstractAffineMap)

Equivalent to compose(F2::AbstractAffineMap, F1::AbstractAffineMap).

source