cyclicMatrix(v)
cyclicMatrix(F,v)
A cyclic matrix (also known as circulant matrix) is a square matrix whose every row (starting from the second) is the right cyclic shift by one entry of the previous row. Below we present ways to define a cyclic matrix $M$.
Assume that $v_1,\ldots,v_n$ are the entries of v. The output is an $n\times n$ matrix. The entries of row 1 are $v_1,\ldots,v_n$, the entries of row 2 are $v_2,\ldots,v_n,v_1$, in general, the entries of row $i$ are $v_i,\ldots,v_n,v_1,\ldots, v_{i-1}$.
|
|
cyclicMatrix(v,F)
Assume that $v_1,\ldots,v_n$ are the entries of v. The output is an $n\times n$ matrix over F. The entries of row 1 are $v_1,\ldots,v_n$, the entries of row 2 are $v_2,\ldots,v_n,v_1$, in general, the entries of row $i$ are $v_i,\ldots,v_n,v_1,\ldots, v_{i-1}$.
|
|
|
The object cyclicMatrix is a method function.
The source of this document is in CodingTheory.m2:4110:0.