Construct a circulant matrix.
Parameters : | c : (N,) array_like
|
---|---|
Returns : | A : (N, N) ndarray
|
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]])