calcBasisIntegrals: Utility function that calculates matrix of basis-scalar...

View source: R/MFPCA_calculation.R

calcBasisIntegralsR Documentation

Utility function that calculates matrix of basis-scalar products (one dimension)

Description

If the element X^{(j)} is expanded in basis functions b_i(t), this function calculates the K_j \times K_j matrix B^{(jj)} with entries

B^{(jj)}_{mn} = \int_{\mathcal{T_j}} b_m^{(j)}(t) b_n^{(j)}(t) \mathrm{d} t

.

Usage

calcBasisIntegrals(basisFunctions, dimSupp, argvals)

Arguments

basisFunctions

Array of npc basis functions of dimensions npc x M1 or npc x M1 x M2.

dimSupp

dimension of the support of the basis functions (1 or 2)

argvals

List of corresponding x-values.

Value

A matrix containing the scalar product of all combinations of basis functions (matrix B^{(j)})

Warning

This function is implemented only for functions on one- or two-dimensional domains.

See Also

MFPCA, dimSupp


MFPCA documentation built on Sept. 15, 2022, 9:07 a.m.