sympy will be used at AGACSE 2015 (Applied Geometric Algebra in Computer Science and Engineering 2015) at Barcelona

63 views
Skip to first unread message

brombo

unread,
Jul 10, 2015, 6:35:55 PM7/10/15
to sy...@googlegroups.com
Sypmy will be used in courses at AGACSE 2015 in Barcelona during July and August (http://www-ma2.upc.edu/agacse2015/) with galgebra (https://github.com/brombo/galgebra) during a course and laboratory session given by Alan Macdonald (http://www-ma2.upc.edu/agacse2015/summer-school.html).  See links for more details.

Jason Moore

unread,
Jul 11, 2015, 1:57:23 AM7/11/15
to sy...@googlegroups.com
Fantastic!

Also, I'd really like us to help Alan get the new geometric algebra code merged into SymPy. I remember someone suggesting that he leave it as a separate package, but I think it would be better to have it built into the SymPy testing infrastructure.
On Fri, Jul 10, 2015 at 5:35 PM, brombo <abrom...@gmail.com> wrote:
Sypmy will be used in courses at AGACSE 2015 in Barcelona during July and August (http://www-ma2.upc.edu/agacse2015/) with galgebra (https://github.com/brombo/galgebra) during a course and laboratory session given by Alan Macdonald (http://www-ma2.upc.edu/agacse2015/summer-school.html).  See links for more details.

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/590e984b-f1e2-42c3-98c8-29d90268c13f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alan Bromborsky

unread,
Jul 11, 2015, 7:48:40 AM7/11/15
to sy...@googlegroups.com
The problem with merging is not so much the code as the documentation.  The current documentation is 77 page pdf document (attached) generated by latex and heavy with equations.  I felt since most people are unfamiliar with geometric algebra/calculus a primer was needed in the documentation.  The normal documentation system used with sympy was too unwieldly to do this and even with MathJax installed locally it was taking too long to render the equations in the original documentation I wrote with the old galgebra package in sympy. 

galgebra.pdf

Matthew Brett

unread,
Jul 11, 2015, 8:01:19 AM7/11/15
to sympy
Hi,

On Sat, Jul 11, 2015 at 12:48 PM, Alan Bromborsky <abrom...@gmail.com> wrote:
> The problem with merging is not so much the code as the documentation. The
> current documentation is 77 page pdf document (attached) generated by latex
> and heavy with equations. I felt since most people are unfamiliar with
> geometric algebra/calculus a primer was needed in the documentation. The
> normal documentation system used with sympy was too unwieldly to do this and
> even with MathJax installed locally it was taking too long to render the
> equations in the original documentation I wrote with the old galgebra
> package in sympy.

Is this a limitation of MathJax? Did you try with pngmath?

I ask, because I have also run into trouble with a lot of math that
was getting very slow to render with MathJax.

Cheers,

Matthew

Alan Bromborsky

unread,
Jul 11, 2015, 9:11:34 AM7/11/15
to sy...@googlegroups.com
I think it would be much faster and uglier with pngmath.  I also think the table capabilities of Sphinx are also much inferior to LaTeX.  Another problem with Sphinx and equations is if you use LaTeX macros it will work for the html rendering but not when you ask Sphinx to generate a pdf versions of the documentation.

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.

Jason Moore

unread,
Jul 11, 2015, 10:43:29 AM7/11/15
to sy...@googlegroups.com
We can probably ship the documentation as is. It would be nice to be in Sphinx but it isn't a requirement. If we commit the LaTeX source to the SymPy docs folder we can setup a small LaTeX compilation. We already have LaTeX as a dep for generating the pdf version of SymPy docs. I wrote my dissertation with Sphinx and there were definitely some issues, but everything (even the pdf version) ended up coming out nicely. Maybe we can get someone at the sprint to take a look at this doc inclusion issue.

Matthew Brett

unread,
Jul 11, 2015, 10:51:17 AM7/11/15
to sympy
On Sat, Jul 11, 2015 at 3:43 PM, Jason Moore <moore...@gmail.com> wrote:
> We can probably ship the documentation as is. It would be nice to be in
> Sphinx but it isn't a requirement. If we commit the LaTeX source to the
> SymPy docs folder we can setup a small LaTeX compilation. We already have
> LaTeX as a dep for generating the pdf version of SymPy docs. I wrote my
> dissertation with Sphinx and there were definitely some issues, but
> everything (even the pdf version) ended up coming out nicely. Maybe we can
> get someone at the sprint to take a look at this doc inclusion issue.

That would be very good.

Has anyone tried pweave for weaving code into ReST? It looks like it
would not be too hard to make acceptable notebooks as output (though
needs a little work), and it already generates good pdf. I guess HTML
will have the same issues with MathJax rendering.

Cheers,

Matthew

Alan Bromborsky

unread,
Jul 11, 2015, 12:08:34 PM7/11/15
to sy...@googlegroups.com
I will get back to you on reintegrating galgebra with sympy after the Barcelona meeting.  Also, it would be nice if there was an option to install sympy just by setting a python path variable.  That is how I install galgebra.  Instead of setup.py I wrote the program setgapth.py to do the job.

I am also going to modify the LaTeX documentation (pdf) to have a navigation window.


Cheers,

Matthew

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.

Jason Moore

unread,
Jul 11, 2015, 12:51:55 PM7/11/15
to sy...@googlegroups.com
There are lots of options for installing sympy. For example, if you use `pip install -e /path/to/sympy` that effectively sets the path to point to source tree.

Alan Bromborsky

unread,
Jul 11, 2015, 12:55:55 PM7/11/15
to sy...@googlegroups.com
Thank you.  I will use that method in the future.

Jason Moore

unread,
Jul 11, 2015, 1:23:08 PM7/11/15
to sy...@googlegroups.com
FYI, I think `python setupegg.py develop` is also a solution for this that does not require pip, but only requires setuptools.
Reply all
Reply to author
Forward
0 new messages