make_summation_matrix: Construct basis transformation matrix for (skew-)symmetry...

make_summation_matrixR Documentation

Construct basis transformation matrix for (skew-)symmetry constraints

Description

Construct basis transformation matrix for (skew-)symmetry constraints for bivariate P-spline smooths, which can also be combined with periodicity constraints for cyclic marginals. The function is adapted from the sparseFLMM with the same name.

Usage

make_summation_matrix(F, skew = FALSE, cyclic.degree = 0)

Arguments

F

number of marginal basis functions.

skew

logical, should the basis be constraint to skew-symmetry instead of symmetry.

cyclic.degree

integer, specifying the number of basis functions identified with each other at the boundaries in order to implement periodicity. Should be specified to match the degree of the B-spline basis.

Details

This function is used to implement the respective constraints in the function smooth.construct.sps.smooth.spec.

Value

A basis transformation matrix of dimension F^2 \times G with G<F^2 depending on the specified constraint.


Almond-S/manifoldboost documentation built on June 23, 2022, 11:06 a.m.