質問編集履歴
3
改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
下記のコードを書くとなぜa5の部分で表題のようなタイトルのエラーが発生するのでしょうか?
|
2
|
+
|
3
|
+
![イメージ説明](44507bac097ec3e01a547b02bea1986a.png)
|
4
|
+
|
5
|
+
|
2
6
|
|
3
7
|
```
|
4
8
|
|
2
改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,19 +40,19 @@
|
|
40
40
|
|
41
41
|
a4 = dec.Decimal(data[i+105][j])
|
42
42
|
|
43
|
-
|
43
|
+
a5 = dec.Decimal(data[i+106][j])
|
44
44
|
|
45
|
-
|
45
|
+
a6 = dec.Decimal(data[i+2][j])
|
46
46
|
|
47
|
-
|
47
|
+
a7 = dec.Decimal(data[i+53][j])
|
48
48
|
|
49
|
-
|
49
|
+
a8 = dec.Decimal(data[i+155][j])
|
50
50
|
|
51
|
-
|
51
|
+
a9 = dec.Decimal(data[i+206][j])
|
52
52
|
|
53
|
-
|
53
|
+
a10 = dec.Decimal(data[i+2][j])
|
54
54
|
|
55
|
-
|
55
|
+
x = a3 + a*((-b + 16*a4 - 60*a3 + 16*a2 - a1 - a9 + 16*a8 + 16*a7 - a6)/(deltax*deltax)) + b*((a5 - 4*a4 - 12*a3 - 4*a2 + a1 + a9 -4*a8 -4*a7 + a10)/(deltay*deltay))
|
56
56
|
|
57
57
|
|
58
58
|
|
1
改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
下記のコードを書くとなぜa5の部分で表題のようなタイトルのエラーが発生するのでしょうか?
|
2
2
|
|
3
|
-
|
3
|
+
```
|
4
4
|
|
5
5
|
import numpy as np
|
6
6
|
|
@@ -61,3 +61,5 @@
|
|
61
61
|
|
62
62
|
|
63
63
|
np.savetxt('sampletest.csv', list, delimiter=',')
|
64
|
+
|
65
|
+
```
|