# 循环矩阵

**循环矩阵**是一个 n × n 矩阵，其中每一行都是上一行向右移动一位、最后一个元素绕回最前面得到的，因此每个元素满足 c_{ij} = c_{(j−i) mod n}。它是一种特殊的托普利茨矩阵，完全由第一行确定；其定义性质在于，离散傅里叶变换（DFT）能同时将所有循环矩阵对角化，这就把循环矩阵的运算变成了快速、逐点的频域运算。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[2](https://ar5iv.labs.arxiv.org/html/1805.05533)</sup>

| 关键事实 | 细节 |
|---|---|
| 元素模式 | 每一行都是上一行的循环移位；该矩阵是满足 t_k = t_{k−n} 的托普利茨矩阵，由一行或一列确定。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[2](https://ar5iv.labs.arxiv.org/html/1805.05533)</sup> |
| 特征值 | 特征值是第一行的 DFT，等价地说是相应多项式在 n 次单位根处的取值；通过一次 FFT 在约 n log n 次运算内算出。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[3](http://oerior.uniud.it/wp-content/uploads/2018/12/KraSimanca2012.pdf)</sup><sup> • </sup><sup>[4](https://web.mit.edu/18.06/www/Spring17/Circulant-Matrices.pdf)</sup> |
| 特征向量 | 所有循环矩阵共享傅里叶向量 U = n^{−1/2}[e^{−2πimk/n}]；对任意对角矩阵 Ψ，C = UΨU* 都是循环矩阵。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup> |
| 快速乘法 | 用 FFT 计算 Cx 约需 n log n 次运算，而一般矩阵-向量乘积约需 n² 次；它等于循环卷积。<sup>[4](https://web.mit.edu/18.06/www/Spring17/Circulant-Matrices.pdf)</sup> |
| 可逆性 | C 非奇异当且仅当每个特征值 ψ_m 都非零；此时 C^{−1} = UΨ^{−1}U*，行列式是各特征值之积。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[3](http://oerior.uniud.it/wp-content/uploads/2018/12/KraSimanca2012.pdf)</sup> |
| 代数 | 循环矩阵的和、积、转置与逆仍是循环矩阵；Circ(n) 是一个 n 维交换子代数，同构于 ℂⁿ。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[5](https://www.math.stonybrook.edu/~sorin/eprints/circulant.pdf)</sup> |
| 预条件 | Strang 预条件子与 T. Chan 预条件子每次迭代花费 O(n log n)；在 Wiener 类假设下，预条件后的谱聚集在 1 附近，可带来超线性的共轭梯度收敛。<sup>[6](https://www.math.kent.edu/~reichel/publications/toepprec.pdf)</sup><sup> • </sup><sup>[7](https://www.collectionscanada.gc.ca/obj/s4/f2/dsk1/tape9/PQDD_0022/MQ51394.pdf)</sup> |

## 定义与刻画

将第一行写作 (c₀, c₁, …, c_{n−1})。按上述右移约定，第 2 行以 c_{n−1} 开头，第 3 行以 c_{n−2} 开头，而 c₁ 绕到第 2 行第 n 列。由于每条下降对角线都是常数，循环矩阵是一种托普利茨矩阵。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[2](https://ar5iv.labs.arxiv.org/html/1805.05533)</sup>

等价地，循环矩阵是循环移位算子 P 的矩阵多项式，其中 P 是把每个基向量送到循环顺序中前一个基向量的置换矩阵：C = c₀I + c₁P + ⋯ + c_{n−1}P^{n−1}。这种多项式形式把循环矩阵与通常的代数以及时间序列分析联系起来，在后者中 P 扮演一步滞后的角色。<sup>[8](https://www.le.ac.uk/users/dsgp1/SIGNALS/MATRIXFT.pdf)</sup>

循环矩阵最早作为例子出现在 E. Catalan 1846 年的一篇论文中。标准的专著式处理见 Philip J. Davis 的《循环矩阵》（Wiley，1979；后由 AMS 重印），书中几乎每一个关于循环矩阵的矩阵论问题都以闭式解决。<sup>[9](https://projecteuclid.org/journalArticle/Download?urlid=bams%2F1183549650)</sup><sup> • </sup><sup>[10](https://archive.org/details/isbn_9780471057710)</sup>

## 用傅里叶矩阵对角化

DFT 可以推导为同时对角化所有循环矩阵的基变换。设 U 是元素为 U_{mk} = n^{−1/2} e^{−2πimk/n} 的酉矩阵，即归一化傅里叶矩阵。对任意循环矩阵 C，U 的列都是特征向量，因此 C = UΨU*，其中 Ψ 为对角矩阵。<sup>[2](https://ar5iv.labs.arxiv.org/html/1805.05533)</sup><sup> • </sup><sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup>

特征值可直接从第一行读出：ψ_m = c₀ + c₁ e^{−2πim/n} + ⋯ + c_{n−1} e^{−2πim(n−1)/n}。若 P_V(x) = v₀ + v₁x + ⋯ + v_{n−1}x^{n−1} 是由定义向量构造的多项式，则特征值就是该多项式在 n 次单位根 ε^l 处的取值 λ_l = P_V(ε^l)。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[3](http://oerior.uniud.it/wp-content/uploads/2018/12/KraSimanca2012.pdf)</sup> 计算它们只需对第一行做一次 FFT，约 n log n 次运算。<sup>[4](https://web.mit.edu/18.06/www/Spring17/Circulant-Matrices.pdf)</sup>

傅里叶矩阵对 Cx 的作用是把乘积变成频域算术：用 FFT 变换 x，把每个傅里叶系数乘以相应的特征值，再变换回来。这就是 DFT 成为循环矩阵自然基的原因。<sup>[4](https://web.mit.edu/18.06/www/Spring17/Circulant-Matrices.pdf)</sup>

各文献在记号上有一点分歧：Gray、Strang 和该教程把特征值等同于*第一行*的 DFT，而 ω-循环矩阵综述则称它们是*第一列*的傅里叶变换。这两种说法分别对应循环移位方向和 DFT 指数符号的两种常见约定；读者在套用公式前应确认所读文本采用哪种约定。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[11](https://irinsubria.uninsubria.it/retrieve/4e99a4af-1d29-4f56-aac1-7f5425128bf7/Circulant-Matrices-A-Selection-of-Modern-Applications-from-Preconditioning-of-Approximated-PDEs-to-Subdivision-SchemesAlgorithms.pdf)</sup>

## 循环矩阵的代数

循环矩阵 Circ(n) 构成 n × n 矩阵代数的一个 n 维交换子代数：循环矩阵的和、积、转置以及非奇异循环矩阵的逆仍是循环矩阵。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[5](https://www.math.stonybrook.edu/~sorin/eprints/circulant.pdf)</sup> 交换性在多项式图景中一目了然，因为同一个移位矩阵的多项式彼此交换。

同时对角化给出一个代数同构。把循环矩阵送到其对角矩阵 Ψ 的映射是 ℂ-代数同构 Circ(n) → ℂⁿ；第一行也确定循环矩阵，但加法与乘法对应于特征值向量上的逐分量运算。<sup>[3](http://oerior.uniud.it/wp-content/uploads/2018/12/KraSimanca2012.pdf)</sup>

可逆性与行列式随即可得。C 非奇异当且仅当所有 ψ_m ≠ 0，此时 C^{−1} = UΨ^{−1}U* 是以特征值倒数之逆 DFT 为第一行的循环矩阵。行列式为 det C = ψ₀ψ₁⋯ψ_{n−1}。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[3](http://oerior.uniud.it/wp-content/uploads/2018/12/KraSimanca2012.pdf)</sup>

## 循环矩阵与卷积

乘以循环矩阵就是循环卷积：下标按模 n 理解时，(Cx)_k = Σ_l a_{k−l} x_l，其中 a 是定义向量。一个 n × n 循环矩阵作用于长度为 n 的向量，实现该向量与第一列滤波器的循环卷积，这正是 DFT 卷积定理所描述的。<sup>[4](https://web.mit.edu/18.06/www/Spring17/Circulant-Matrices.pdf)</sup><sup> • </sup><sup>[12](https://ccrma.stanford.edu/~jos/fp/Cyclic_Convolution_Matrix.html)</sup><sup> • </sup><sup>[2](https://ar5iv.labs.arxiv.org/html/1805.05533)</sup>

对角化用矩阵语言重述了卷积定理：循环卷积在傅里叶域中变成逐点乘法。同一机制可求解周期系统。要解 Cx = b，对 b 做 FFT，逐点除以特征值 ψ_m，再做逆 FFT；这是带周期边界条件的差分方程的标准解法，此时算子在循环上平移不变。<sup>[2](https://ar5iv.labs.arxiv.org/html/1805.05533)</sup><sup> • </sup><sup>[4](https://web.mit.edu/18.06/www/Spring17/Circulant-Matrices.pdf)</sup>

## 运算量

一般 n × n 矩阵-向量乘积约需 n² 次运算。向量的 DFT 用 FFT 约需 n log n 次运算和约 n 的存储，因此任意循环矩阵的 Cx 通过三步 FFT（正变换、按特征值缩放、逆变换）约需 n log n 次运算。<sup>[4](https://web.mit.edu/18.06/www/Spring17/Circulant-Matrices.pdf)</sup> 在含单位根的环中，循环矩阵与托普利茨矩阵的矩阵-向量乘积都耗时 O(n log n)。<sup>[13](https://arxiv.org/pdf/2103.02605)</sup>

在实数浮点运算计数层面，用于循环预条件的 N 点 FFT 在 N 为 2 的幂时约需 1.5 N log N 次实数乘法和 4.5 N log N 次实数加法。<sup>[14](https://mcl.usc.edu/wp-content/uploads/2014/01/1992-01-Design-and-analysis-of-Toeplitz-preconditioners.pdf)</sup> 对迭代求解器而言，每次预条件共轭梯度迭代只需 O(n log n) 而非 O(n²)，且在 Wiener 类假设下预条件系统的谱聚集在 1 附近，带来超线性收敛，迭代次数与 n 无关地有界。<sup>[7](https://www.collectionscanada.gc.ca/obj/s4/f2/dsk1/tape9/PQDD_0022/MQ51394.pdf)</sup>

## 与托普利茨矩阵及其他结构矩阵的比较

托普利茨矩阵的对角线为常数但没有绕回。循环矩阵是可对角化的表亲：循环矩阵与斜循环矩阵是处理托普利茨问题时最常用的两类特殊托普利茨矩阵。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup><sup> • </sup><sup>[15](https://arxiv.org/pdf/1806.05652)</sup>

**嵌入。** 任意 n × n 托普利茨矩阵都可嵌入一个 2n × 2n 循环矩阵，因此托普利茨矩阵-向量乘积可计算为长度为 2n 的循环卷积，需要 O(2n log 2n) 次运算。<sup>[7](https://www.collectionscanada.gc.ca/obj/s4/f2/dsk1/tape9/PQDD_0022/MQ51394.pdf)</sup> 在对称正定情形，基于这种循环嵌入的迭代求解器可与达到 O(n log n) 性能的预条件共轭梯度相竞争。<sup>[16](https://sweet.ua.pt/pjf/PDF/Ferreira2010f.pdf)</sup>

**变体。** Bini 于 1987 年引入 ω-循环矩阵用于求三角托普利茨矩阵的逆；ω-循环矩阵系统可通过 FFT 在 O(n log n) 串行时间内求解，在并行模型中可降到 O(log n)，而对角相似变换可把斜循环矩阵变成循环矩阵。<sup>[11](https://irinsubria.uninsubria.it/retrieve/4e99a4af-1d29-4f56-aac1-7f5425128bf7/Circulant-Matrices-A-Selection-of-Modern-Applications-from-Preconditioning-of-Approximated-PDEs-to-Subdivision-SchemesAlgorithms.pdf)</sup><sup> • </sup><sup>[14](https://mcl.usc.edu/wp-content/uploads/2014/01/1992-01-Design-and-analysis-of-Toeplitz-preconditioners.pdf)</sup> 循环矩阵序列还在渐近意义上逼近托普利茨矩阵序列，这是托普利茨预条件子谱理论的基础。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup>

## 循环预条件与数值应用

循环预条件子把困难的托普利茨系统 T_n x = b 替换为一个邻近的循环系统，后者可在每次迭代中用 FFT 求解。Gilbert Strang 最早使用循环矩阵作为预条件子来加速托普利茨系统迭代方法的收敛；他的预条件子复制托普利茨矩阵 A 的中间对角线。Tony Chan 提出了循环矩阵 C₀，其逆使与 Hermite 正定托普利茨矩阵 T 的 Frobenius 范数差最小，用于共轭梯度法。<sup>[6](https://www.math.kent.edu/~reichel/publications/toepprec.pdf)</sup><sup> • </sup><sup>[17](https://raymondhonfu.github.io/paper/strang.pdf)</sup>

加速有两部分。每次迭代用 FFT 施加 C⁻¹，只需 O(n log n) 次浮点运算；而对一大类问题，预条件算子的特征值随维数增长聚集在 1 附近，因此迭代次数保持很少，实际上与 n 无关。<sup>[6](https://www.math.kent.edu/~reichel/publications/toepprec.pdf)</sup><sup> • </sup><sup>[17](https://raymondhonfu.github.io/paper/strang.pdf)</sup><sup> • </sup><sup>[7](https://www.collectionscanada.gc.ca/obj/s4/f2/dsk1/tape9/PQDD_0022/MQ51394.pdf)</sup> 综述中的 Strang、T. Chan、Tyrtyshnikov 和 Huckle 预条件子建立代价都不超过 O(n log n)，并在 Wiener 类假设下共享这种聚集行为。<sup>[7](https://www.collectionscanada.gc.ca/obj/s4/f2/dsk1/tape9/PQDD_0022/MQ51394.pdf)</sup>

改进推广了这一思想。超优循环预条件子使预条件误差的范数最小，对任意 A 可在 O(n² log² n) 次运算内算出，而当 A 为托普利茨或双托普利茨矩阵时只需 O(n log² n)。<sup>[18](https://epubs.siam.org/doi/10.1137/0613030)</sup> 托普利茨系统的 Frobenius 范数循环逼近可在 O(n log n) 次算术运算内计算。<sup>[19](https://epubs.siam.org/doi/10.1137/0914034)</sup> 无矩阵块循环预条件子可构造得使 C^T A C 的最小特征值与 A 的最小特征值高度重叠，显著降低条件数。<sup>[20](https://onlinelibrary.wiley.com/doi/10.1002/nla.346)</sup> 除预条件之外，循环矩阵与 ω-循环矩阵在过去四十年中在结构线性系统的快速求解中发挥了重要作用，主要是托普利茨型系统，但也包括来自近似 PDE 的系统。<sup>[11](https://irinsubria.uninsubria.it/retrieve/4e99a4af-1d29-4f56-aac1-7f5425128bf7/Circulant-Matrices-A-Selection-of-Modern-Applications-from-Preconditioning-of-Approximated-PDEs-to-Subdivision-SchemesAlgorithms.pdf)</sup>

## 嵌入定理与近期进展

循环矩阵足够丰富，可以构造任意矩阵。在乘法方面，任意方阵 M ∈ ℂ^{n×n} 都可写成循环矩阵与对角矩阵的乘积，一般至多需要 2n − 1 个因子；两个这样的循环–对角–循环（DCD）乘积之和已包含所有托普利茨矩阵和所有秩不超过 2 的矩阵。<sup>[22](https://link.springer.com/article/10.1007/s00041-026-10259-x)</sup>

这些分解已进入机器学习。CDFlow（NeurIPS 2025）使用 m 个对角矩阵与 m − 1 个循环矩阵的乘积作为可逆线性层，把参数复杂度从 O(n²) 降到 O(mn)，矩阵求逆从 O(n³) 降到 O(mn log n)，对数行列式从 O(n³) 降到 O(mn)；在 96 通道时，相比一般稠密矩阵，报告矩阵求逆加速 1.17×、对数行列式加速 4.31×。<sup>[23](https://proceedings.neurips.cc/paper_files/paper/2025/file/054a9c9f6249eee0093a85ccee5b3313-Paper-Conference.pdf)</sup> CAT（NeurIPS 2025）通过在 FFT 域中把卷积作为 Hadamard 乘积求值，在 O(N log N) 时间内计算循环卷积注意力；基于 FFT 的过程不会扭曲 softmax 注意力分布，因为循环结构在浮点舍入范围内恰好等价于循环卷积。<sup>[24](https://papers.nips.cc/paper_files/paper/2025/file/d9f8b5abc8e0926539ecbb492af7b2f1-Paper-Conference.pdf)</sup>

## 应用

卷积运算以及与之相伴的循环矩阵出现在数字信号处理、图像压缩、物理与工程仿真、数论和密码学中，循环结构适合幂法或最速下降等迭代求解器。<sup>[4](https://web.mit.edu/18.06/www/Spring17/Circulant-Matrices.pdf)</sup> 循环矩阵出现在涉及 DFT 的应用以及纠错循环码的研究中。<sup>[1](https://ee.stanford.edu/~gray/toeplitz.pdf)</sup> 在数值计算中，它们的主要作用是快速求解来自托普利茨算子和具有周期或平移不变结构的离散化 PDE 的结构线性系统。<sup>[11](https://irinsubria.uninsubria.it/retrieve/4e99a4af-1d29-4f56-aac1-7f5425128bf7/Circulant-Matrices-A-Selection-of-Modern-Applications-from-Preconditioning-of-Approximated-PDEs-to-Subdivision-SchemesAlgorithms.pdf)</sup>

## References

1. [Robert M. Gray, *Toeplitz and Circulant Matrices: A Review*, Stanford University.](https://ee.stanford.edu/~gray/toeplitz.pdf)
2. [*Discovering Transforms: A Tutorial on Circulant Matrices, Circular Convolution, and the DFT*, arXiv.](https://ar5iv.labs.arxiv.org/html/1805.05533)
3. [Thekra Kra and Jorge Simanca, *On Circulant Matrices* (2012).](http://oerior.uniud.it/wp-content/uploads/2018/12/KraSimanca2012.pdf)
4. [Gilbert Strang, *Circulant Matrices*, MIT 18.06 lecture notes.](https://web.mit.edu/18.06/www/Spring17/Circulant-Matrices.pdf)
5. [Sorin Popa, *Circulant matrices*, Stony Brook University.](https://www.math.stonybrook.edu/~sorin/eprints/circulant.pdf)
6. [Reichel, Lin, and Cheng, *Circulant preconditioners for Toeplitz systems*.](https://www.math.kent.edu/~reichel/publications/toepprec.pdf)
7. [UMI dissertation, *Circulant preconditioners for Toeplitz systems*, Library and Archives Canada.](https://www.collectionscanada.gc.ca/obj/s4/f2/dsk1/tape9/PQDD_0022/MQ51394.pdf)
8. [D.S.G. Pollock, *Circulant Matrices and Time-Series Analysis*, University of Leicester.](https://www.le.ac.uk/users/dsgp1/SIGNALS/MATRIXFT.pdf)
9. [Review article on circulant matrices, Bulletin (AMS), Project Euclid.](https://projecteuclid.org/journalArticle/Download?urlid=bams%2F1183549650)
10. [Philip J. Davis, *Circulant Matrices*, Wiley, 1979, Internet Archive record.](https://archive.org/details/isbn_9780471057710)
11. [Di Benedetto et al., *ω-Circulant Matrices: A Selection of Modern Applications*, Algorithms.](https://irinsubria.uninsubria.it/retrieve/4e99a4af-1d29-4f56-aac1-7f5425128bf7/Circulant-Matrices-A-Selection-of-Modern-Applications-from-Preconditioning-of-Approximated-PDEs-to-Subdivision-SchemesAlgorithms.pdf)
12. [Julius O. Smith III, *Cyclic Convolution Matrix*, CCRMA, Stanford University.](https://ccrma.stanford.edu/~jos/fp/Cyclic_Convolution_Matrix.html)
13. [*Circulant matrices and fast multiplication*, arXiv.](https://arxiv.org/pdf/2103.02605)
14. [Ng, *Design and analysis of Toeplitz preconditioners*, IEEE Transactions on Signal Processing.](https://mcl.usc.edu/wp-content/uploads/2014/01/1992-01-Design-and-analysis-of-Toeplitz-preconditioners.pdf)
15. [*On circulant and skew-circulant Toeplitz matrices*, arXiv.](https://arxiv.org/pdf/1806.05652)
16. [Ferreira, *Trading-off matrix size and matrix structure: Handling Toeplitz equations by embedding on a larger circulant set*.](https://sweet.ua.pt/pjf/PDF/Ferreira2010f.pdf)
17. [Gilbert Strang, *Toeplitz Equations by Conjugate Gradients with Circulant Preconditioner*, SIAM.](https://raymondhonfu.github.io/paper/strang.pdf)
18. [Chan and Ng, *Optimal and Superoptimal Circulant Preconditioners*, SIAM.](https://epubs.siam.org/doi/10.1137/0613030)
19. [Ng, *Some Aspects of Circulant Preconditioners*, SIAM Journal.](https://epubs.siam.org/doi/10.1137/0914034)
20. [*Matrix-free constructions of circulant and block circulant preconditioners*, Numerical Linear Algebra with Applications.](https://onlinelibrary.wiley.com/doi/10.1002/nla.346)
21. [*Circulant decomposition of a matrix and the eigenvalues of Toeplitz type matrices*, Applied Mathematics and Computation, 2024.](https://ideas.repec.org/a/eee/apmaco/v468y2024ics0096300323006422.html)
22. [*Best Low Rank Approximations are a Special Case of Best DCD-matrix Approximations*, Journal of Fourier Analysis and Applications.](https://link.springer.com/article/10.1007/s00041-026-10259-x)
23. [*CDFlow: Building Invertible Layers with Circulant and Diagonal Matrices*, NeurIPS 2025.](https://proceedings.neurips.cc/paper_files/paper/2025/file/054a9c9f6249eee0093a85ccee5b3313-Paper-Conference.pdf)
24. [*CAT: Circular-Convolutional Attention for Sub-Quadratic Transformers*, NeurIPS 2025.](https://papers.nips.cc/paper_files/paper/2025/file/d9f8b5abc8e0926539ecbb492af7b2f1-Paper-Conference.pdf)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Linear and multilinear algebra › Matrix theory › Structured and special matrix classes

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/circulant-matrix

English original: https://www.edgepedia.org/circulant-matrix
