Produce a full circulant matrix given the first column.
Note: this function has been deprecated and will be removed in the
future. Instead, use gallery
with the the circul
option.
To obtain the exactly same matrix, transpose the result, i.e., replace
circulant_make_matrix (v)
with
gallery ("circul", v)'
.
Given an n*1 vector v, returns the n*n circulant matrix C where v is the left column and all other columns are downshifted versions of v.
Note: If the first row r of a circulant matrix is given, the first
column v can be obtained as v = r([1 end:-1:2])
.
Reference: Gene H. Golub and Charles F. Van Loan, Matrix Computations, 3rd Ed., Section 4.7.7
See also: gallery, circulant_matrix_vector_product, circulant_eig, circulant_inv.
Package: linear-algebra