回答編集履歴
1
追記
test
CHANGED
@@ -1,7 +1,19 @@
|
|
1
|
-
|
1
|
+
以下のように書くことができます。
|
2
2
|
|
3
3
|
```python
|
4
4
|
|
5
|
-
cdef double[:]
|
5
|
+
cdef double[:] arr
|
6
6
|
|
7
7
|
```
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
ちなみに2次元配列は
|
12
|
+
|
13
|
+
```python
|
14
|
+
|
15
|
+
cdef double[:,:] arr2
|
16
|
+
|
17
|
+
```
|
18
|
+
|
19
|
+
です。
|