Bases
Index
TransportMaps.CubicSplineHermiteBasisTransportMaps.GaussianWeightedHermiteBasisTransportMaps.HermiteBasisTransportMaps.LegendreBasisTransportMaps.LinearizedHermiteBasisTransportMaps.MultivariateBasisTransportMaps.ShiftedLegendreBasisTransportMaps.basisfunctionTransportMaps.basisfunction_derivative
Types
TransportMaps.HermiteBasis Type
HermiteBasisProbabilists' Hermite polynomial basis, defined by
TransportMaps.LinearizedHermiteBasis Type
LinearizedHermiteBasisProbabilists' Hermite polynomial basis with linear extrapolation outside bounds
Fields
linearizationbounds::Vector{Float64}: lower and upper bounds for linearization.normalization::Vector{Float64}: normalization factors for each degree.
Constructors
LinearizedHermiteBasis(; lower=-Inf, upper=Inf, normalization=Float64[]): Explicit constructor with specified bounds and normalization.LinearizedHermiteBasis(max_degree::Int): Construct with default normalization for given maximum degree.LinearizedHermiteBasis(samples::Vector{<:Real}, max_degree::Int, k::Int): Construct bounds from 1st and 99th percentile of samples.LinearizedHermiteBasis(density::Distributions.UnivariateDistribution, max_degree::Int, k::Int): Construct bounds from 1st and 99th percentile of reference density.
TransportMaps.CubicSplineHermiteBasis Type
CubicSplineHermiteBasisProbabilists' Hermite polynomial basis with cubic edge control. For degrees
Degrees zero and one remain unweighted.
Fields
radius::Float64: radius of the spline for edge control.
Constructors
CubicSplineHermiteBasis(radius::Float64=3.0): Explicit constructor withradius=3.0CubicSplineHermiteBasis(samples::Vector{<:Real}): Construct radius from from 1st and 99th percentile of samples.CubicSplineHermiteBasis(density::Distributions.UnivariateDistribution): Construct radius from 1st and 99th percentile of reference density.
TransportMaps.GaussianWeightedHermiteBasis Type
GaussianWeightedHermiteBasisProbabilists' Hermite polynomial basis with Gaussian edge control. For degrees
Degrees zero and one remain unweighted.
sourceTransportMaps.LegendreBasis Type
LegendreBasisLegendre polynomial basis, orthogonal with respect to the uniform measure on
TransportMaps.ShiftedLegendreBasis Type
ShiftedLegendreBasisShifted Legendre polynomial basis, orthogonal with respect to the uniform measure on
TransportMaps.MultivariateBasis Type
MultivariateBasis{T <: AbstractPolynomialBasis}A multivariate polynomial basis function constructed as a tensor product of univariate polynomial bases.
Fields
multiindexset::Vector{Int}: Multi-index representing the polynomial degrees for each dimensionunivariatebases::Vector{T}: Vector of univariate basis functions, one for each dimension
Constructors
MultivariateBasis(multiindexset::Vector{Int}, ::Type{T}) where T<:AbstractPolynomialBasis: Create a multivariate basis with the specified multi-index and basis type.MultivariateBasis(multiindexset::Vector{Int}, basistype::AbstractPolynomialBasis): Constructor that accepts a basis instance instead of a type.
Functions
TransportMaps.basisfunction Function
basisfunction(basis::HermiteBasis, αᵢ::Int, zᵢ::Real)Evaluate the degree-
basisfunction(basis::LegendreBasis, αᵢ::Int, zᵢ::Real)Evaluate the degree-
basisfunction(basis::ShiftedLegendreBasis, αᵢ::Int, zᵢ::Real)Evaluate
basisfunction(basis::LinearizedHermiteBasis, αᵢ::Int, zᵢ::Real)Evaluate the degree-
basisfunction(basis::CubicSplineHermiteBasis, αᵢ::Int, zᵢ::Real)Evaluate the degree-
basisfunction(basis::GaussianWeightedHermiteBasis, αᵢ::Int, zᵢ::Real)Evaluate the degree-
TransportMaps.basisfunction_derivative Function
basisfunction_derivative(basis::HermiteBasis, αᵢ::Int, zᵢ::Real)Evaluate
basisfunction_derivative(basis::LegendreBasis, αᵢ::Int, zᵢ::Real)Evaluate the derivative
basisfunction_derivative(basis::ShiftedLegendreBasis, αᵢ::Int, zᵢ::Real)Evaluate
basisfunction_derivative(basis::LinearizedHermiteBasis, αᵢ::Int, zᵢ::Real)Evaluate the derivative of the degree-
basisfunction_derivative(basis::CubicSplineHermiteBasis, αᵢ::Int, zᵢ::Real)Evaluate the derivative of the degree-
basisfunction_derivative(basis::GaussianWeightedHermiteBasis, αᵢ::Int, zᵢ::Real)Evaluate the derivative of the degree-