In [7]:
from IPython.display import Image
Can be an interesting framework for a master course or assignments for master projects
How does SymPy compares to Maple for this particular case
Project idea: automatically generating the equations of motions for a wind turbine
Additional tools in SymPy/Theano can optimize large mathematical expressions and convert to C
GPU support, can it go faster?
In [8]:
Image(filename='images/ex2 - fig1.png')
Out[8]:
In [9]:
Image(filename='images/ex2 - fig2.png')
Out[9]:
Open source vs black box
Develop in one environment (Python) instead of two (Matlab+Maple)
Parse Maple commands to Python/SymPy commands using pyparsing:
Define the parsing grammer
Can be usefull in other cases: parsing HAWC2, FAST, Bladed, ... input files
Increase robustness: Fall-back to other libraries for mathematical processing in Python: maxima, GiNaC, ...