Construct a circulant matrix.
Parameters : | c : array_like
|
---|---|
Returns : | A : array, shape (len(c), len(c))
|
Notes
New in version 0.8.0.
Examples
>>> from scipy.linalg import circulant
>>> circulant([1, 2, 3])
array([[1, 3, 2],
[2, 1, 3],
[3, 2, 1]])