global_poly_helper_sgp {BayesGP}R Documentation

Constructing and evaluating the global polynomials, to account for boundary conditions (design matrix) of sgp

Description

Constructing and evaluating the global polynomials, to account for boundary conditions (design matrix) of sgp

Usage

global_poly_helper_sgp(refined_x, a, m, initial_location = NULL)

Arguments

refined_x

A vector of locations to evaluate the sB basis

a

The frequency of sgp.

m

The number of harmonics to consider

initial_location

The value of the initial location. If NULL, the minimum value of refined_x will be used.

Value

A matrix with i,j componet being the value of jth basis function value at ith element of x, the ncol should equal to (2*m), and nrow should equal to the number of elements in x


[Package BayesGP version 0.1.3 Index]