numericBasisSeries2fun: Compute the value of the basis function summation series at...

numericBasisSeries2funR Documentation

Compute the value of the basis function summation series at certain points.

Description

Compute the function f(x) = \sum_{k=0}^{p}c_k \rho_{k}(x), x\in\Omega

Usage

numericBasisSeries2fun(object, x)

## S4 method for signature 'numericBasis_series,numeric'
numericBasisSeries2fun(object, x)

Arguments

object

an object of numericBasis_series class.

x

Value of $x$.

Value

A numeric atomic vector

Author(s)

Heyang Ji

Examples

t_0 = 0
period = 1
t_points = seq(0.05,0.95,length.out = 19)
nb = numeric_basis(
  basis_function = cbind(1/2,cos(2*pi*t_points),sin(2*pi*t_points)),
  t_points       = t_points,
  t_0            = t_0,
  period         = period
)
ns = numericBasis_series(coef = c(0.8,1.2,1.6),numeric_basis = nb)
numericBasisSeries2fun(ns,seq(0,1,length.out = 51))


MECfda documentation built on April 3, 2025, 10:07 p.m.