VectorSpaceLeastSquares.computeGlobalIndex — MethodcomputeGlobalIndex(p::PiecewiseConstantBasis, x::AbstractVector{<:Real})Compute the linear index of grid cell in which x lies. Return -1 if x is not inside the grid.
VectorSpaceLeastSquares.computeMeanF — MethodcomputeMeanF(x::AbstractVector{<:AbstractVector{T}}, f::Function)Compute E[f(X)] where f: R → R is applied component-wise. Each entry of x is supposed to be a sample from the distribution of X.
VectorSpaceLeastSquares.computePolynomialTensor — MethodcomputePolynomialTensor(nVariates::Integer, degree::Integer)Compute the full tensor representation of a multivariate polynomial
VectorSpaceLeastSquares.dtchebychev1d — MethodRecursive computation of the first derivative of the Tchebychev polynomials of any order.
xthe evaluation pointnthe order of the polynomial to be evaluatedn0the rank of initializationf_nthe derivative of the polynomial of ordern0.f_n_1the derivative of the polynomial of ordern0 - 1
VectorSpaceLeastSquares.dtchebychev1d — MethodFirst derivative of the Tchebytchev polynomials
xthe evaluation pointnthe index of the polynomial whose first derivative is to be evaluated
VectorSpaceLeastSquares.getTx — MethodgetTx(vslsq::VSLeastSquares{Tb, Tt, Td}) where {Tb<:AbstractBasis, Tt<:AbstractTransformation, Td<:Real}Return the vector internally used to store the transformed data. Internal use only.
VectorSpaceLeastSquares.hermite1d — MethodRecursive function to compute Hermite polynomials of any order.
xevaluation pointn` the order of the polynomial to be evaluatedn0the rank of the initializationf_n0used to store the polynomial of ordern0f_n0_1used to store the polynomial of ordern0 - 1
VectorSpaceLeastSquares.tchebychev1d — MethodRecursive function to compute Tchebychev polynomials of any order.
xevaluation pointn` the order of the polynomial to be evaluatedn0the rank of the initializationf_n0used to store the polynomial of ordern0f_n0_1used to store the polynomial of ordern0 - 1
VectorSpaceLeastSquares.tchebychev1d — MethodTchebychev polynomials of any order
xthe evaluation pointnthe order of the polynomial to be evaluated