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

Description Usage Arguments Value Warning See Also

View source: R/MFPCA_calculation.R

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

1
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 Oct. 17, 2021, 5:06 p.m.