ShiftMatrix: Construct shift matrix

shiftMatrixR Documentation

Construct shift matrix

Description

Internal function for creation of sparse shift matrix.

Usage

shiftMatrix(n, q)

Arguments

n

Integer specifying dimensions of the shift matrix.

q

Integer specifying the order of the shift matrix. Value q = 1 (resp. q = -1) indicates the upper (resp. lower) shift matrix. Larger (resp. smaller) values represent higher powers of the respective shift matrices.

Value

Returns a sparse matrix (class "ngCMatrix").


stanek-fi/ACV documentation built on April 12, 2022, 7:07 a.m.