inprod_mfd | R Documentation |
mfd
objects.Inner products of functional data contained in mfd
objects.
inprod_mfd(mfdobj1, mfdobj2 = NULL)
mfdobj1 |
A multivariate functional data object of class |
mfdobj2 |
A multivariate functional data object of class |
Note that L^2 inner products are not calculated for couples of functional data from different functional variables. This function is needed to calculate the inner product in the product Hilbert space in the case of multivariate functional data, which for each observation is the sum of the L^2 inner products obtained for each functional variable.
a three-dimensional array of L^2 inner products. The first dimension is the number of functions in argument mfdobj1, the second dimension is the same thing for argument mfdobj2, the third dimension is the number of functional variables. If you sum values over the third dimension, you get a matrix of inner products in the product Hilbert space of multivariate functional data.
library(funcharts)
set.seed(123)
mfdobj1 <- data_sim_mfd()
mfdobj2 <- data_sim_mfd()
inprod_mfd(mfdobj1)
inprod_mfd(mfdobj1, mfdobj2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.