Algosim documentation: CirculantMatrix

CirculantMatrix

Creates a circulant matrix.

Syntax

Description

If u is a vector, then CirculantMatrix(u) is the circulant matrix having u as its first row.

Examples

CirculantMatrix(❨1, 2, 3, 4, 5❩)
⎛1  2  3  4  5⎞
⎜5  1  2  3  4⎟
⎜4  5  1  2  3⎟
⎜3  4  5  1  2⎟
⎝2  3  4  5  1⎠

See also