Function Index
CirculantMatrix
CirculantMatrix[
h
,
n
]
returns an
n
×
n
matrix with constant diagonals formed from elements of list
h
.
Typically, the dimensions of the circulant matrix are chosen such that n≥
Length
[
h
]
.
The first element of
h
appears in the last row at a position
Length[
h
]
elements from the end of the row. The last element of
h
appears as the first element of the first row.
See also User's Guide
5.2
.
Example
This loads the package.
In[1]:=
Here is a 5 × 5 circulant matrix.
In[2]:=
Out[2]//MatrixForm=
© 2008 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: