Extensions to sympy

23 views
Skip to first unread message

brombo

unread,
Apr 1, 2023, 1:35:27 PM4/1/23
to sympy
I am attaching an html image of a Jupyter Notebook that demonstrates several extensions to sympy that I am developing.  I would like some feedback on the extensions and which ones would be of the greatest interest.  Note that all of the extensions are separate modules and do not require any modification of the sympy source code (perhaps I should have said additions instead of extensions).  The notebook includes comments and examples of how I think the extensions could be used.  I also have a question about python libraries.  I am running Ubuntu 22.04 and the only way (other than hard coding the module path in the py files) was to create a pth file for the directory my code is in and placing it in the appropriate python site packages directory.  Modifying the PYTHONPATH environment variable did not work for me.  Has something changed in the python distribution recently?

The extensions are related to:

1. Piecewise functions and Fourier Transforms.
2. LaTeX printing and viewing from python scripts and Jupyter notebooks especially with regard to annotating the output in Jupyter.
3. Using the Asymptote graphics software from within python scripts and Jupyter notebooks.
4. Creating differential operator classes (Pdop and Sdop) where the operators form a ring of linear combinations of scalar sympy expressions and partial differential operators (partial derivatives) than can be applied to sympy expressions using the * operator.

Any comments would be welcome but I am not expecting many until after the GSOC submission date.

examples.html
Reply all
Reply to author
Forward
0 new messages