norm_matrix_H_derivatives: Computation of the H-norm of the derivatives of a set of...

Description Usage Arguments Value Examples

View source: R/norm_matrix_H_derivatives.R

Description

It computes the H norm of the derivatives of a set of functions represented as their projection on a basis of the space H.

Usage

1
norm_matrix_H_derivatives(M, pairwise_derivatives)

Arguments

M

matrix. J \times N matrix containing in the column n the coefficients of the projection of a function y_n on the J-dimensional basis functions.

pairwise_derivatives

matrix. J \times J matrix containing the integral of the pairwise product of the basis functions. It can be computed with the compute_pairwise_integrals function.

Value

vector of length N containing the H-norm of the derivatives of the functions

Examples

1
2
3
4
data(SobolevKernel)
T_domain <- seq(0, 1, length = 50)
pairwise_derivartives <- compute_pairwise_integrals(derivatives, T_domain)
sum(norm_matrix_H_derivatives(t(Y_matrix), pairwise_derivartives))

ardeeshany/FLAME documentation built on Sept. 25, 2017, 9:55 a.m.