本文主要是介绍Python循环矩阵-scipy.linalg.circulant,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
scipy.linalg.circulant
scipy.linalg.circulant©[source]
Construct a circulant matrix.
Parameters:
c(N,) array_like
1-D array, the first column of the matrix.
Returns:
A(N, N) ndarray
A circulant matrix whose first column is c.
See also
toeplitz
Toeplitz matrix
hankel
Hankel matrix
solve_circulant
Solve a circulant system.
Examplesfrom scipy.linalg import circulant
circulant([1, 2, 3])
array([[1, 3, 2],[2, 1, 3],[3, 2, 1]])
See https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.circulant.html
https://math.stackexchange.com/questions/4610870/generating-doubly-block-circulant-matrices-which-are-also-symmetric-positive-def
这篇关于Python循环矩阵-scipy.linalg.circulant的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!