Algosim documentation: HankelMatrix

HankelMatrix

Creates a Hankel matrix.

Syntax

Description

If u and v are vectors with u[−1] = v[1] then HankelMatrix(u, v) returns the Hankel matrix with u as its first row and v as its last column.

Examples

HankelMatrix(❨1, 2, 3, 4❩, ❨4, 0, 0, 0❩)
⎛1  2  3  4⎞
⎜2  3  4  0⎟
⎜3  4  0  0⎟
⎝4  0  0  0⎠

See also