From 604ed6da4f052021250760766bc10673122fd630 Mon Sep 17 00:00:00 2001 From: Chihiro Watanabe Date: Sat, 25 Jul 2026 21:57:48 +0900 Subject: [PATCH] Update rng usage in eig_circulant.md Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01Rs2tDEcDXLnfMnM88v8e1D --- lectures/eig_circulant.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lectures/eig_circulant.md b/lectures/eig_circulant.md index f0d021530..9225f8594 100644 --- a/lectures/eig_circulant.md +++ b/lectures/eig_circulant.md @@ -380,7 +380,8 @@ and that every eigenvector of $P$ is also an eigenvector of $C$. We illustrate this for $N=8$ case. ```{code-cell} ipython3 -c = np.random.random(8) +rng = np.random.default_rng() +c = rng.random(8) ``` ```{code-cell} ipython3