---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-24-9547a479f096> in <module>()
----> 1 get_ipython().run_cell_magic(u'timeit', u'-n1', u'myfunct(V1, V2, V3, O, D)')
C:\Anaconda\lib\site-packages\IPython\core\interactiveshell.pyc in run_cell_magic(self, magic_name, line, cell)
2113 magic_arg_s = self.var_expand(line, stack_depth)
2114 with self.builtin_trap:
-> 2115 result = fn(magic_arg_s, cell)
2116 return result
2117
<decorator-gen-59> in timeit(self, line, cell)
C:\Anaconda\lib\site-packages\IPython\core\magic.pyc in <lambda>(f, *a, **k)
186 # but it's overkill for just that one bit of state.
187 def magic_deco(arg):
--> 188 call = lambda f, *a, **k: f(*a, **k)
189
190 if callable(arg):
C:\Anaconda\lib\site-packages\IPython\core\magics\execution.pyc in timeit(self, line, cell)
1047 break
1048 number *= 10
-> 1049 all_runs = timer.repeat(repeat, number)
1050 best = min(all_runs) / number
1051
C:\Anaconda\lib\timeit.pyc in repeat(self, repeat, number)
228 r = []
229 for i in range(repeat):
--> 230 t = self.timeit(number)
231 r.append(t)
232 return r
C:\Anaconda\lib\site-packages\IPython\core\magics\execution.pyc in timeit(self, number)
137 gc.disable()
138 try:
--> 139 timing = self.inner(it, self.timer)
140 finally:
141 if gcold:
<magic-timeit> in inner(_it, _timer)
NameError: global name 'myfunct' is not defined