compute_weights_precision_helper {BayesGP} | R Documentation |
Constructing the precision matrix given the knot sequence (helper)
Description
Constructing the precision matrix given the knot sequence (helper)
Usage
compute_weights_precision_helper(x)
Arguments
x |
A vector of knots used to construct the O-spline basis, first knot should be viewed as "0", the reference starting location. These k knots will define (k-1) basis function in total. |
Value
A precision matrix of the corresponding basis function, should be diagonal matrix with size (k-1) by (k-1).
Examples
compute_weights_precision_helper(x = c(0,0.2,0.4,0.6,0.8))
[Package BayesGP version 0.1.3 Index]