回答編集履歴

1

追記

2022/03/22 06:01

投稿

bsdfan
bsdfan

スコア4899

test CHANGED
@@ -23,6 +23,7 @@
23
23
  ```
24
24
 
25
25
  numpy.gradient を使ってやるなら、こんな感じではないでしょうか。
26
+ (最終的な計算結果には影響しないですが、上の畳み込みの場合とxx, yyの符号が違っているので注意ください)
26
27
  ```python
27
28
  ey, ex = np.gradient(current_dem, DY, DX)
28
29