No, that is not possible. You have to write a normal def function in
the same %cython block, and call that instead... or put everything in
one block.
- William
>
> Such as:
>
> First Cell:
> %cython
> cdef test():
> #stuff
>
> Second Cell:
> %cython
> def test2():
> test()
>
> Thanks,
>
> Michael Snider
>
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org