Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xinychen authored Dec 4, 2022
1 parent 3f1324c commit 7d6c927
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,21 @@ print()
<h2 align="center">低秩时序模型</h2>
<p align="right"><a href="#从线性代数到张量分解"><sup>▴ 回到顶部</sup></a></p>


**例.** 根据卷积定理计算循环卷积。

```python
import numpy as np

x = np.array([0, 1, 2, 3, 4])
y = np.array([2, -1, 3])
fx = np.fft.fft(x)
fy = np.fft.fft(np.append(y, np.zeros(2), axis = 0))
z = np.fft.ifft(fx * fy).real
```

**例.** 使用低秩拉普拉斯卷积模型对灰度图像进行重构。

```python
import numpy as np

Expand Down

0 comments on commit 7d6c927

Please sign in to comment.