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 Aug. 22, 2017, 1:02 a.m.