Golam Mortuza Hossain wrote:
> Hi,
> 
> On Tue, Jun 23, 2009 at 12:55 PM, Burcin Erocal<bur...@erocal.org> wrote:
>>>> I plan to move the integrate() and sum() (after #3587) constructs
>>>> to be symbolic functions (i.e., subclasses of SFunction from
>>>> sage.symbolic.function), as opposed to regular python functions in
>>>> sage.calculus.calculus. This will allow us to have real symbolic
>>>> integrals and sums in Sage and define custom methods for evaluation,
>>>> which can/should be more involved than just wrapping those of
>>>> maxima or sympy.
> 
> Burcin: I am wondering whether you could give an update on sub-classing
> symbolic integration?
> 
> As you suggested, I am working with a prototype symbolic integration
> class  for hooking up my integration code using its _eval_ method.  I could
> expand the class definition but I would like to avoid effort duplication.
> 
>>> Where do you propose to put the integration algorithm files?
>>> Something like
>> sage/symbolic/integration/generalized_functions.py in this case?
> 
> How do you include modules from a new directory in Sage? I tried
> as you suggested but sage somehow is not finding the module.


See sage/setup.py (search for "packages").  Put your directory in there.

Also, make sure you have an __init__.py and an all.py in your directory 
(see other directories for what should be in these files).  This may be 
more than you need, but it should work, probably.  If you have a Cython 
file, you also need to add it to sage/module_list.py.

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to