質問編集履歴
3
追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -67,3 +67,27 @@
|
|
67
67
|
```
|
68
68
|
|
69
69
|
jupyternotebook,visualstudioは2017がもともと入っていましたがUnable to find vcvarsall.batというエラー解決のため2015も入れています。当方まだまだ初心者なので足りない情報等あれば追加いたします。
|
70
|
+
|
71
|
+
### 追記
|
72
|
+
|
73
|
+
```python
|
74
|
+
|
75
|
+
%%cython --verbose
|
76
|
+
|
77
|
+
def cyth(n):
|
78
|
+
|
79
|
+
a, b = 0, 1
|
80
|
+
|
81
|
+
for i in range(n):
|
82
|
+
|
83
|
+
a, b = a + b, a
|
84
|
+
|
85
|
+
return a
|
86
|
+
|
87
|
+
```実行結果
|
88
|
+
|
89
|
+
[1/1] Cythonizing C:\Users\username.ipython\cython\_cython_magic_da5bc2352422b75fecffa817881bbebf.pyx
|
90
|
+
|
91
|
+
building '_cython_magic_da5bc2352422b75fecffa817881bbebf' extension
|
92
|
+
|
93
|
+
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\username\anaconda3\include -IC:\Users\username\anaconda3\include /TcC:\Users\username.ipython\cython\_cython_magic_da5bc2352422b75fecffa817881bbebf.c /FoC:\Users\username.ipython\cython\Users\username.ipython\cython\_cython_magic_da5bc2352422b75fecffa817881bbebf.obj
|
2
タグ追加
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
タグ追加
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|