Interesting. I haven't used Maple in years, but they have it here at work. I'll see if I can check out somewhere next week.
On a slightly related note, a year ago I tried to create a Maple workbook to Python/Sympy (or IPython notebook) converter. It uses pyparsing to parse the Maple syntax. A big Maple workbook is included for testing. I never solved all the corner cases though...but the general principle worked. I am not sure how useful it is, but if someone is interested in helping out we might get it to work a little better? Be advised, you'll notice that my coding skills are not top notch... The code is here: https://github.com/davidovitch/maple-to-python (in case the GPL3 license is too restrictive: this can be changed.) Regards, David On 29 January 2015 at 18:48, Aaron Meurer <[email protected]> wrote: > I searched the Maple docs, but the only mention of SymPy is that one > example. I'm curious what all functions from SymPy they use. Is it only > number theory functions that aren't in stdlib math or numpy/scipy? > > Aaron Meurer > > On Thu, Jan 29, 2015 at 11:45 AM, Aaron Meurer <[email protected]> wrote: > >> Thanks for pointing this out. That's pretty exciting. If someone has >> access to Maple 18, it would be great to see what all this does. It looks >> like it also uses NumPy and SciPy. >> >> Aaron Meurer >> >> On Thu, Jan 29, 2015 at 1:02 AM, Denis Akhiyarov < >> [email protected]> wrote: >> >>> Has anyone tried out Python (sympy, numpy. scipy) code generation from >>> Maple? >>> >>> >>> http://www.maplesoft.com/products/maple/new_features/maple18/Code_Generation.aspx >>> >>> *[image: Python(proc (m) options operator, arrow; add(ithprime(i), i = 1 >>> .. m) end proc)]* >>> import sympy >>> def cg0 (m): >>> r = 0 >>> for i in range(1, m + 1): >>> r = r + sympy.prime(i) >>> return(r) >>> >>> -- >>> 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 [email protected]. >>> To post to this group, send email to [email protected]. >>> 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/491d119b-e7f8-4c3f-a665-0d0da7872c8e%40googlegroups.com >>> <https://groups.google.com/d/msgid/sympy/491d119b-e7f8-4c3f-a665-0d0da7872c8e%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/CAKgW%3D6LK6ORE8rYoDWCrn4ykj%2BwH0v5bhZFmudqQyiN9XY99mg%40mail.gmail.com > <https://groups.google.com/d/msgid/sympy/CAKgW%3D6LK6ORE8rYoDWCrn4ykj%2BwH0v5bhZFmudqQyiN9XY99mg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CALObe%3DCVN7T5YCdWVxDyutnB6%3D6EFxB_B6mKieG0gf0dF1fkcA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
