eigenfun: Generate the Fourier series

Description Usage Arguments

View source: R/RcppExports.R

Description

eigenfun(n, x) generates the first n fourier series, which are \{1/√{2*π}, 1/√{π}*cos(x), 1/√{π}*cos(x), ...\} evaluated at x.

Usage

1
eigenfun(n,x)

Arguments

n

The number of eigenfunctions used to approximate the boundary. It should be a odd number.

x

The argument at which the eigenfunctions are evaluated.


BayesBD documentation built on May 1, 2019, 10:17 p.m.