Skip to main content

Module constant

Module constant 

Source
Expand description

Constant (intercept) basis function.

Provides the trivial single-function basis whose only member is the constant function f(t) = 1. Its evaluation on a grid t is a column-major m × 1 matrix of ones — the intercept column of a regression design matrix. This mirrors R’s create.constant.basis (fda) and fdata.usc’s constant basis.

Functions§

constant_basis
Evaluate the constant basis on a grid of evaluation points.