compute_pairwise_integrals: Integral of the pairwise product of functions

View source: R/compute_pairwise_integrals.R

compute_pairwise_integralsR Documentation

Integral of the pairwise product of functions

Description

Given a set of functions, represented as their pointwise evaluation on a time grid and stored in the columns of a matrix, it computes the integral of the pairwise product of the functions

Usage

compute_pairwise_integrals(matrix, T_grid)

Arguments

matrix

matrix. m \times J matrix containing in the column j the pointwise representation of the function f_j on the T_grid domain.

T_grid

vector. m-length vector of the time domain

Value

matrix J \times J containing in each element (i,j) the integral of f_i \cdot f_j on the domain defined by T_grid.

Examples

data(SobolevKernel)
T_domain <- seq(0, 1, length = 50)
pairwise_derivartives <- compute_pairwise_integrals(derivatives, T_domain)


ardeeshany/AFSSEN documentation built on Aug. 28, 2022, 2:22 p.m.