Skip to content

线性代数直觉 — 练习

Download exercise.py

实现 apply_linear(A, X):对形状 (N, n) 的样本矩阵做 A @ x(注意行列约定)。

bash
cd docs/math/linear-algebra/code
python exercise.py

源码位置

clone 后打开(相对仓库根目录):

docs/math/linear-algebra/code/exercise.py