On Sun, 29 Oct 2006 11:09:44 -0700, David Harvey
<[EMAIL PROTECTED]> wrote:
> On Oct 29, 2006, at 12:01 PM, William Stein wrote:
>> After building, from the interpreter I did this:
>>
>> sage: import sage.modular.modsym.p1list as p
>> sage: p.test_foo(10)
>> 100
>
> Sweet. Well, maybe we should
On Oct 29, 2006, at 12:01 PM, William Stein wrote:
> After building, from the interpreter I did this:
>
> sage: import sage.modular.modsym.p1list as p
> sage: p.test_foo(10)
> 100
Sweet. Well, maybe we should be doing that in a few places then.
Seems very clean and natural.
David
--~--~---
On Sun, 29 Oct 2006 09:08:27 -0700, David Harvey
<[EMAIL PROTECTED]> wrote:
> You CAN export module-level cdef functions from one pyrex module to
> another.
I didn't realize this...
> I added the following to arith.pyx:
>
> ==
> cdef public int my_function(int x):
>