Initializes the parameter list needed for a basis function.
initialize_basisfun(
basisFunctionsUsed,
dimension,
lengthscale,
opts_BasisFun = list()
)A list of initialized basis function parameters.
Character. The type of basis function to use. One of: "inducing points", "RFF", "Discrete FF", "filling FF", "custom cosines".
Integer. Dimension of the input space \([\mathbf{x},\,t]\).
Numeric vector. Lengthscales used for scaling the input space.
List. Optional. Additional options specific to the chosen basis function.
If the type is "custom cosines", the basis functions considered are \( coef\cos(freq^\top [x, t] + offset) \)
and the user must provide three vectors: opts_BasisFun$freq, opts_BasisFun$offset and opts_BasisFun$coef.
Users can refer to the documentation of specific basis function initialization functions
(e.g., initialize_basisfun_inducingpt, initialize_basisfun_RFF,
initialize_basisfun_fillingRFF, initialize_basisfun_discreteFF, etc.) for details on the available options.