![]() |
[Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & MeeGo Harmattan & Sailfish
SymPy is a a Computer Algebra System (CAS) written in pure Python.
See the SymPy sites : SymPy for smartphones & tablets SymPy.org SymPy Wiki SymPy documentation Versions of SymPy : - for Maemo 4 Diablo and Maemo 5 Fremantle : v0.7.3 (13/07/2013) is available in their repositories, this is the latest version compatible with Python 2.5; - for MeeGo 1.2 Harmattan : v0.7.5 (22/02/2014). - for Sailfish/Mer : v0.7.6.1 (03/09/2015). See post #3 for SymPy release history on Maemo / MeeGo. Screenshots of SymPy 0.7.x Nokia N900 showing some calculus, after tapping the SymPy icon or typing "isympy" in X Terminal : http://www.robertocolistete.net/symp...7.2-N900-1.png http://www.robertocolistete.net/symp...7.2-N900-2.png Nokia N9 running SymPy using the IPython 0.13.1 Notebook interface on Firefox v15. "init_printing()" is used to show nice outputs with LaTeX : http://www.robertocolistete.net/symp...ulus-ipynb.png Nexus 4 running SymPy with IPython 2.1.0 Notebook interface on Webcat web browser : http://www.robertocolistete.net/ipyt...SailfishOS.jpg Plotting options for SymPy 0.7.x With SymPy there were 2 plotting options (1st and 3rd below), but since SymPy 0.7.2 there are 3 options to make plots : 1) "Plot()" using PyGlet (only on Maemo 5), see post #11 for some usage examples on Nokia N900; 2) new plotting module (from v0.7.2) using NumPy & MatPlotLib (on Maemo 5, MeeGo Harmattan and Sailfish), see post #30 for some usage examples on Nokia N9 & N900; 3) mpmath plotting functions using MatPlotLib (on Maemo 5, MeeGo Harmattan and Sailfish), see post #32 for some usage examples on Nokia N9 & N900. Comparing the 3 options : - 'Plot()'/PyGlet only works on Maemo 5, while plotting module and mpmath plotting work on Maemo 5, MeeGo Harmattan and Sailfish; - 'Plot()' labels on axes and axes tick marks don't work on Maemo 5, while in plotting module they are ok; - 'Plot()' can use cylindrical or spherical coordinate systems to make 3D parametric surfaces, while plotting 'plot3d' and mpmath plotting can't; - 3D parametric curve of plotting module doesn't work on Maemo 5 (MatPlotLib 1.0.0 is too old); - mpmath plotting has no 2D parametric plots and no options to specify axis names, title name, plot color, etc; - mpmath plotting has surfaces plots with some faulty colors on Maemo 5 & MeeGo Harmattan & Sailfish; - 3D plots with 'Plot()' are faster than with plotting module or mpmath plotting. Nokia N9 plot made by the new plotting module of SymPy 0.7.2 : http://www.robertocolistete.net/Pyth...oscillator.png Nokia N900 screenshot with 3D plot made by 'Plot()', it is interactive, being controlled by keyboard or stylus : http://www.robertocolistete.net/Pyth...-z-colored.png Nokia N9 showing SymPy 0.7.2 new plotting features in IPython 0.13.1 Notebook interface on Firefox v15. With "%pylab inline", MatPloLib 1.2.0 & NumPy 1.7.0 are loaded in interactive mode and the plots are embedded. http://www.robertocolistete.net/symp...ings-ipynb.png See more plot examples in post #11 about "Plot()", post #30 about new plotting module and post #32 about mpmath plotting. Installing & using on Sailfish To install SymPy 0.7.5 on Sailfish, install Warehouse (OpenRepos.net client) for Sailfish OS, see the Jolla Tides guide with screenshots. Then open Warehouse, search for "SymPy", enable the repository, then install it. It is strongly suggested to also install IPython for Sailfish, so the interactive use becomes a lot easier. On Sailfish, IPython has 2 interfaces, IPython terminal and IPython Notebook. The MeeGo Harmattan examples below apply, but there is no icon for IPython on Sailfish. Installing & using on MeeGo Harmattan SymPy 0.7.5 has 2 repositories options, so it can be : - easily installed by using Warehouse / OpenRepos.net. Install Warehouse (OpenRepos.net client) for MeeGo Harmattan, then open Warehouse, search for "SymPy", enable the repository and install; - installed by using my Harmattan repository. SymPy 0.7.5 takes about 35 MB after install. It is strongly suggested to also install IPython for MeeGo Harmattan, so the interactive use of MatPlotLib/NumPy becomes a lot easier From IPython 0.13.1 Harmattan onwards, there are 3 interfaces to choose : 1) IPython 0.13 terminal interface : 1.a) Tap the IPython icon, then : In [1]: from sympy import * In [2]: init_printing() The "init_printing()" is used to show pretty printing outputs. If you want to use both PyLab (MatPlotLib + NumPy) and SymPy, always load PyLab before SymPy 0.7.3 : In [1]: %pylab In [2]: from sympy import * In [3]: init_printing() 1.b) Or in Terminal, type : $ isympy or $ isympy -p ascii if (a large) output is badly not aligned. For 1.a and 1.b, if (a large) output is badly not aligned, then use "init_printing(use_unicode=False)". 2) IPython 0.13 Qt console : 2.a) Tap the "IPy QtConsole" icon, then : In [1]: from sympy import * In [2]: init_printing() The "init_printing()" is used to show nice outputs using LaTeX. If you want to use both PyLab (MatPlotLib + NumPy) and SymPy, always load PyLab before SymPy 0.7.3 : In [1]: %pylab inline In [2]: from sympy import * In [3]: init_printing() The magic command "%pylab inline" shows plots embedded in Qt console, while "%pylab" displays plots in interactive MatPlotLib (Qt4) backend. 2.b) Or in Terminal, type : $ ipython qtconsole or to also load PyLab (MatPlotLib + NumPy) : $ ipython qtconsole --pylab or PyLab with embedded plots : $ ipython qtconsole --pylab=inline then : In [1]: from sympy import * In [2]: init_printing() 3) IPython 0.13 Notebook : 3.a) Tap the "IPy Notebook" icon, then : In [1]: from sympy import * In [2]: init_printing() The "init_printing()" is used to show nice outputs using LaTeX. If you want to use both PyLab (MatPlotLib + NumPy) and SymPy, always load PyLab before SymPy 0.7.3 : In [1]: %pylab inline In [2]: from sympy import * In [3]: init_printing() The magic command "%pylab inline" shows plots embedded in IPython notebook, while "%pylab" displays plots in interactive MatPlotLib (Qt4) backend. 3.b) Or in Terminal, type : $ ipython notebook or also loading PyLab (MatPlotLib + NumPy) : $ ipython notebook --pylab or PyLab with embedded plots : $ ipython notebook --pylab-inline then : In [1]: from sympy import * In [2]: init_printing() The terminal commands of 1.b, 2.b and 3.b can be used in new .desktop files in "/usr/share/applications", just copy "ipy*.desktop" to fit your needs. For making SymPy 0.7.5 plots on MeeGo Harmattan there are 2 options, both using MatPlotLib 1.2.1 (install it following the topic "MatPlotLib - 2D & 3D plots for MeeGo Harmattan") : - new plotting module, see post #30 for more detailed instructions and examples on Nokia N9; - mpmath plotting functions, see post #32 for more detailed instructions and examples on Nokia N9. Install & use on Maemo 5 Click the install icon in Maemo.org Downloads or enable extras repository, search for SymPy in the application manager and install "SymPy interactive shell", it will install IPython (if not installed), SymPy (0.7.1), isympy (X-terminal script with some initialization of variables and output type) and its icon. To install the new SymPy v0.7.3 for Maemo 5 Fremantle, enable extras-testing or extras-devel repository and search for SymPy in the application manager and install "SymPy interactive shell" 0.7.3. SymPy 0.7.3 about 20 MB after install but it is optified. To have 3 plotting options on Maemo 5, use SymPy 0.7.2 instead, by downloading : python-sympy_0.7.2-1maemo1_all.deb (2.3 MB) then installing it with : $ dpkg -i python-sympy_0.7.2-1maemo1_all.deb To use SymPy 0.7.x on Maemo 5 : 1) the "SymPy" icon or the terminal command "isympy" opens IPython terminal (if installed, or else just X Terminal and Python) and setup SymPy interactive mode; 2) If you want to use both PyLab (MatPlotLib 1.0.0 + NumPy 1.4.0) and SymPy. 2.a) Tap the IPython icon, then always load PyLab before SymPy : In [1]: %pylab In [2]: from sympy import * In [3]: init_printing() The "init_printing()" is used to show pretty printing outputs. 2.b) Or in Terminal, type : $ ipython --pylab then : In [1]: from sympy import * In [2]: init_printing() There are 3 options for making SymPy 0.7.2 plots on Maemo 5 Fremantle, while only the 1st option and 3rd options work with SymPy 0.7.1/0.7.3 : 1) "Plot()" for 2D/3D interactive plots, using PyGlet". See post #11 of this topic for more detailed instructions to use 'Plot()' on Maemo 5. See also the topic PyGlet for Maemo 5 or the PyGlet for Maemo 5 web page for more details. To install PyGlet on Maemo 5, just open "X terminal" : $ sudo gainroot # apt-get update # apt-get install python-pyglet Beware that PyGlet takes 6.4 MB (it is optified) after install plus its mesa dependencies use 5.2 MB in root partition. 2) new plotting module, using MatPlotLib. See post #30 for more detailed instructions and examples on Nokia N900. To install it on Maemo 5 takes about 39 MB (which 3 MB not-optified), use the X Terminal with Extras-Devel repository enabled and type : $ sudo gainroot # apt-get update # apt-get install python-matplotlib Then, as user, create the folder "/home/user/.matplotlib" and the file "/home/user/.matplotlib/matplotlibrc" with the text : datapath : /usr/share/matplotlib/mpl-data backend : Qt4Agg 3) mpmath plotting functions, using MatPlotLib. See post #32 for more detailed instructions and examples on Nokia N900. Follow the instructions above to install MatPlotLib. To Nokia N900 users, please help promote SymPy, SymPy Interactive Shell and SymPy Documentation to extras repository by voting in : SymPy 0.7.3-3maemo3 SymPy interactive shell 0.7.3-1fremantle1 SymPy documentation and examples Install & use on Maemo 4 Click the install icon in Maemo.org Downloads (the description still shows v0.7.1 but it will install v0.7.3) or enable extras repository, search for SymPy in the application manager and install "SymPy Interactive Shell", it will install IPython (if not installed, using 6 MB after install), SymPy 0.7.3, isympy (X-terminal script with some initialization of variables and output type) and its icon. SymPy v0.7.3 (20 MB) and its dependency python2.5-dev (other 15 MB) takes about 35 MB after install. The SymPy icon or the terminal command "isympy" launches the IPython interactive shell and loads SymPy with some initialization (of variables and output type). See post #36 and post #38 for detailed SymPy benchmarks. SymPy is also used by "Integral", "Derivative" and "Limit" on Maemo 4 & 5. With SymPy 0.7.2 onwards, due to the new beta function, beta can't be used anymore as symbol/variable. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5
Update : now PyGlet is released for Maemo 5, so "Plot" and "preview" work only on Maemo 5 / Nokia N900.
SymPy has some features that depend on "pyglet" package : "Plot" (2D and 3D graphics) and "preview" (to render output in LaTeX in a window). But as far as I know "pyglet" does not work on Maemo 5 (due to some problems with Open GL ES). I have tried installing from Python source without success. So : "Plot" and "preview" don't work on SymPy for Maemo 4/5. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5
About SymPy history on Maemo, MeeGo and Sailfish/Mer :
- SymPy 0.6.6 (December 2009) was released on January 2010 for Maemo 5 by Tom Tanner; - SymPy 0.7.1 (29/06/2011) was released on September 12th 2011 for Maemo 5, with the "SymPy Interactive Shell" package including an icon and isympy so SymPy is more visible to end users. Plotting was available using "Plot()" with PyGlet and mpmath plotting with MatPlotLib; - SymPy 0.7.1 was released on October 3rd 2011 for Maemo 4, then the "SymPy Interactive Shell" package in 22/02/2012 (after IPython 0.10.2 release on Maemo 4), with no plotting options; - SymPy 0.7.1 for MeeGo Harmattan was released on 06/11/2011, with mpmath plotting using MatPlotLib; - SymPy 0.7.2 (16/10/2012) was released on 03/01/2013 for MeeGo Harmattan and on 09/01/2013 for Maemo 4 and Maemo 5. With this version, there are 3 plotting options on Maemo 5 ("Plot()" using PyGlet , new plotting module and mpmath plotting with MatPlotLib) and 2 plotting options on MeeGo Harmattan (new plotting module and mpmath plotting with MatPlotLib); - SymPy 0.7.3 (13/07/2013) released on 05/08/2013 for Maemo 4, Maemo 5 and MeeGo Harmattan. Due to Python 2.5 limitation, this is the last version for Maemo 4, and maybe also for Maemo 5. This version has 2 plotting options on Maemo 5 ( "Plot()" using PyGlet and mpmath plotting with MatPlotLib) and 2 plotting options on MeeGo Harmattan (new plotting module and mpmath plotting with MatPlotLib). - SymPy 0.7.5 (22/04/2014) released on 04/05/2014 for Sailfish. - SymPy 0.7.4.1 (15/12/2013) released on 23/09/2014 for MeeGo Harmattan. - SymPy 0.7.5 (22/02/2014) released on 24/09/2014 for MeeGo Harmattan. - SymPy 0.7.6.1 (03/09/2015) released on 07/08/2016 for Sailfish, both for Python 2.7 and Python 3. I plan to keep SymPy for Maemo / MeeGo / Mer updated. SymPy is developed by the SymPy team. I am mainly a maintainer of SymPy for Maemo, with just one small source code contribution to SymPy. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5
SymPy (python-sympy package) is now in extras repository for Maemo 5.
But "SymPy interactive shell" (python-sympy-ui) and "SymPy documentation and examples" (python-sympy-doc) are still in extras-testing for Maemo 5, waiting for the votes to be promoted to extras. Update : "SymPy interactive shell" (python-sympy-ui) also depends on IPython being promoted to extras repository. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5
Corrected the time to load SymPy, it is faster due to byte compiling of Python files :
- on Nokia N900, 6 s using SymPy icon, 3 s using "from sympy import *" in Python/iPython interactive shell; - on Nokia N810, 6 s using "from sympy import *" in Python/iPython interactive shell. Total size of SymPy after installation is 18.5 MB (Maemo 4 & 5). SymPy .py files take 7.4 MB, the rest are .pyc (compiled Python) files created during installation to speed up SymPy loading. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5
Some teasing, SymPy running on Nokia N9 :
http://www.robertocolistete.net/sympy/sympy-N9.jpg It was on a Nokia Store in Rio de Janeiro where I have used one Nokia N9 for 1-2 hours :cool: I have installed Python, PySide, etc, downloaded SymPy (tar.gz), uncompressed it and ran Python shell, then imported SymPy. SymPy loaded and ran well, very fast. I am trying to package SymPy for MeeGo Harmattan (Nokia N9/N950). Then I will announce it here. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
To Nokia N9/N950 (MeeGo 1.2 Harmattan, i.e., "Maemo 6") users, I am glad to announce the 2nd version of SymPy package available to download here :
python-sympy_0.7.1-harmattan-2_all.deb It is strongly suggested to also install IPython for MeeGo Harmattan, so the interactive use of SymPy becomes a lot easier. SymPy 0.7.1 Harmattan-1 (06/11/2011) : - 1st release to MeeGo 1.2 Harmattan; - about 13 MB after install; SymPy 0.7.1 Harmattan-2 (13/11/2011) : - added SymPy tests; - about 19 MB after install. Some screenshots on a Nokia N950 (RDA). Typing isympy on Terminal when IPython is not installed : http://www.robertocolistete.net/symp...0-terminal.png Typing isympy on Terminal when IPython is installed (the input and outputs are numbered) : http://www.robertocolistete.net/symp...al-ipython.png Apps information about SymPy : http://www.robertocolistete.net/symp...y-N950-app.png How to use SymPy on Harmattan : Open the Terminal, type : $ isympy If (a large) output is badly not aligned, type 'init_printing(use_unicode=False)'. SymPy on Harmattan takes 19 MB after install, but it also needs Python/Python-Support packages (23 MB) which are also used by other softwares. Time to load SymPy in X terminal : Nokia N810 @ 400 MHz : 7.3-9.3 s Nokia N900 @ 600 MHz : 2.9-3.7 s Nokia N9/N950 @ 1 GHz : 2.3-3.4 s Next steps for MeeGo Harmattan : - release iPython package for Harmattan (DONE); - release SymPy (python-sympy) in a public MeeGo Harmattan repository; - release "SymPy"/"SymPy interactive shell" (python-sympy-ui) for Harmattan with icon ? - release "SymPy documentation and examples" (python-sympy-doc) ? - release softwares depending on SymPy, but with user interface modified (Qt Quick Components instead of QWidgets) to Harmattan : Limit, Integral, Derivative, etc. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Update : IPython for MeeGo Harmattan is now released (14/11/2011).
The Maemo 4 and MeeGo Harmattan versions of SymPy do not yet use iPython, instead the simpler Python shell. On Maemo 4 because iPython 0.8 is too old and incompatible with SymPy (isympy script). On MeeGo Harmattan because there is not yet a iPython package available. Advantages of iPython shell, which is called by isympy or the icon of "SymPy" on Maemo 5 : - tab (or ctrl+i) completion for objects; - input history navigation using up and down arrows; - search input history by typing partial input then up/down arrow to show matching lines, or ctrl+r to have a serch prompt; - input line n can be retrieved using '_in', 'In[n]', '_ih[n]', and _i, _ii, _iii to access the previous, next previous and next-next previous inputs; - output line n can be retrieved using '_n', 'Out[n]', '_oh[n]', and _, __, ___ access the previous, next previous and next-next previous outputs; - information about objects using '?word' or 'word?', full information with '??word' or 'word??'; - magic command system, like '%run file.py', '%pwd'; - run system commands with '!' as prefix, e.g., '!ls". More details in : iPython interactive tutorial iPython Interactive Reference I am working to make iPython 0.10.2 available to Maemo 4 & 5 and iPython 0.10.2 or 0.11 to MeeGo Harmattan. So SymPy could also use iPython shell on Maemo 4 and MeeGo Harmattan. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Released 2nd version of SymPy for MeeGo Harmattan, see above.
Using SymPy is now simpler : just type "isympy" in Terminal, it loads the Python shell, then SymPy with automatic definition of some variables and output type. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
For MeeGo Harmattan users : SymPy is now even simpler to use, just install IPython for MeeGo Harmattan. See the above posts.
|
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Good news for Maemo 5 users ! SymPy can now make graphics with the easy-to-use 'Plot()' function. And 'preview()' function also works (partially).
Maemo 5 users need to install the optional dependency "PyGlet", see how to install it in the 1st post of this topic. The SymPy 'Plot' section of the SymPy for smartphones & tablets site has a lot of links, hints, tips and examples. The new version of SymPy for Maemo 5 (see post below) shows after "?Plot" the following keyboard controls (stylus controls translation for 2D graphics and rotation for 3D graphics), where the 'SHIFT' modifier is used for smooth movements of 3D plots : Code:
Plot Window Keyboard Controls Examples of SymPy 'Plot()' : Function of 1 variable, y = f(x), a dumped harmonic oscillator : In [1]: Plot(2.5*exp(-1.0*x/2)*cos(pi*x), [0,10,150], width=800, caption='Dumped harmonic oscillator') Timing : 12s / 2s (repeated). http://www.robertocolistete.net/Pyth...oscillator.png 2D parametric function of 1 variable, x = f(t), y = g(t), an explosion : In [1]: Plot(t*sin(8*t)*cos(8*t)*cos(t), t*sin(8*t)*cos(8*t)*sin(t), [0,4*pi,1600], width=800, caption='Parametric Explosion', axes='stride=1.0') Timing : 57s / 17s (repeated). http://www.robertocolistete.net/Pyth...-explosion.png 3D parametric curve of 1 variable, x = f(t), y = g(t), z = h(t), a wire 3D curve : In [1]: Plot((2+cos(16*t))*cos(t), (2+cos(16*t))*sin(t), sin(16*t), [800], axes='colored=true', width=800, caption='Wire 3D curve') Timing : 51s / 9s (repeated). http://www.robertocolistete.net/Pyth...wire-curve.png 3D surface in cartesian coordinates, z = f(x,y), a surface z colored : In [1]: Plot(5*x*y*exp(-x**2-y**2), [-2,2,100], [-2,2,100], 'color=zfade4', axes='colored=true', width=800, caption='Surface z colored') Timing : 36s / 30s (repeated). http://www.robertocolistete.net/Pyth...-z-colored.png 3D surface in cylindrical coordinates, r = f(theta=t,z=h), a wormhole : In [1]: Plot(z**2/4+1, [], [z,-3,3], 'mode=cylindrical; style=both; color=zfade4', axes='colored=true', width=800, caption='Wormhole surface') Timing : 25s / 16s (repeated). http://www.robertocolistete.net/Pyth...e-wormhole.png The SymPy 'preview()' function partially works on Maemo 5. For example : Code:
In [1]: preview(integrate(sin(x)**15,x),output='dvi',euler=False) |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
For Maemo 5 users : to better control the graphics made by 'Plot()', I have released new versions of SymPy.
SymPy 0.7.1 Maemo5 and SymPy interactive shell 0.7.1 Fremantle2 (04/02/2012), available in extras-devel repository : - 'Plot()' and 'preview()' work with the optional dependency 'python-pyglet' on Maemo 5, to install it, type 'apt-get install python-pyglet' as root; - Nokia N900 extra keys to control plots made by the 'Plot()' command. Then, more improvements and fixes in the same day : SymPy 0.7.1 Maemo6 and SymPy interactive shell 0.7.1 Fremantle3 (04/02/2012), available in extras-testing and extras-devel repositories : - 'Plot()' and 'preview()' work with the optional dependency 'python-pyglet' on Maemo 5, to install it, type 'apt-get install python-pyglet' as root; - Nokia N900 extra keys to control plots made by the 'Plot()' command. - increased sensitivity of keyboard and mouse/stylus control for 'Plot()' graphics; - removed '.pyc' files from package because they are created during installation. The 'SymPy interactive shell' will appear as an update on your Nokia N900, just confirm the installation. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
As cited above, I have made a "SymPy for smartphones & tablets" site :
http://www.robertocolistete.net/Python/SymPy/ Nokia N900 & Maemo 5 OS is clearly the best smartphone/tablet for SymPy/Python use. Nokia N8x0 & Maemo 4 OS and Nokia N9 & MeeGo Harmattan are also well ranked. The above cite also summarizes how to install SymPy in mobile OS. By the way, the Q4 2011 report from Canalys shows that 2011 was the year when smartphones shipped more than all the client PC's (pads, net/notebooks and desktops). Maybe in 5 years timeframe Python (with SymPy, etc) will be more used in smartphonees & tablets than in PC's. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
See the end of the 1st post of this topic for voting to promote SymPy to extras repository.
|
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Good news for Maemo 4 users : "SymPy Interactive Shell" is released, so the installation and use of SymPy on Maemo 4 is now easier than before. See the "Install & use on Maemo 4" section of the 1st post of this topic.
IPython 0.10.2 for Maemo 4 & 5 was also released, so "SymPy Interactive Shell" became possible on Maemo 4. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
It's great to have Matlab-like capabilities on smartphone! Any new development on MeeGo Harmattan?
|
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Quote:
Yes, I am working on MeeGo Harmattan development : SymPy with icon (for Nokia Store), Uncertainties (python module), Calculus (Limit+Integral+Derivative in PySide/QML), trying IPython 0.11/0.12 (and building its dependencies...), MatPlotLib 1.1, etc. Last weeks were dedicated to Maemo 4/5 development and packaging : PyGlet and updated SymPy for Maemo 5, IPython 0.10.2 for Maemo 4 & 5, SymPy Interactived Shell for Maemo 4, Uncertainties for Maemo 4 & 5, Django for Maemo 4. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Good news for Nokia :
- N8x0 users, "SymPy Interactive Shell" and its dependency "IPython" were promoted to extras repository; - N900 users, "IPython" and "SymPy Interactive Shell" (which depends on "IPython") are now both on extras-testing repository waiting for votes to be promoted to extras. See the the end of 1st posts of the topics : IPython for Maemo 4 & 5 & 6 SymPy (Computer Algebra System) for Maemo 4 & 5 & 6 |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
One thing I'm really missing on my N900:
a Python shell which has an integrated on-screen number block (for numbers and maybe a few other characters which are often needed for Python and for use as calculator). Regards, Dietmar |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Quote:
|
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Quote:
Without the decimal point you get integer calculations... Also, if you want to use variables for interim results, you have to switch all the time. (Sometimes, I'm using scripts for standard calculations where I accept inputs like '1?1' for '1.1' to avoid switching. Maybe I should add the decimal point to the X Terminal keys, but then it still would not be too comfortable to use Python as calculator with interim results.) Regards, Dietmar |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Thanks everybody, SymPy is now promoted to Maemo 5 extras repository and Maemo.org Downloads for Maemo 5.
|
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
I've written some blog post related to SymPy :
- "Scientific Python for computers, tablets and smartphones" shows that Nokia N900 and Nokia N9 are the best smartphones to run scientific Python softwares : IPython, NumPy/MatPlotLib, SymPy, etc; - "Symbolic computation CAS (Computer Algebra System) for smartphones and tablets" shows that SymPy is present in almost all smartphones and tablets which run CAS, and Nokia N900 and Nokia N9 are the best smartphones for SymPy using. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
SymPy 0.7.2 package is now available for MeeGo Harmattan :
python-sympy_0.7.2-1harmattan1_all.deb (2.3 MB). Using a file manager, tap in the .deb file to install it (taking 26 MB). Check the release notes of SymPy 0.7.2, this new version has a lot of improvements and bug fixes. Some of them : - improved integration methods, e.g., some integrals are faster in v0.7.2; - plotting module using MatPlotLib, so now we can easily use SymPy to make 2D/3D plots on MeeGo Harmattan; - I am now co-author of SymPy (in the authors list) for a small contribution about implementing "num_columns" in "init_printing" and "pretty"/"pretty_print"/"pprint", an useful feature for displaying SymPy results in small screens of smartphones and tablets. SymPy release history on MeeGo Harmattan : * SymPy 0.7.2 Harmattan1 (03/01/2013) : - SymPy 0.7.2 (16/10/2012) version for MeeGo 1.2 Harmattan; - about 26 MB after install; * SymPy 0.7.1 Harmattan-2 (13/11/2011) : - added SymPy tests; - about 19 MB after install; * SymPy 0.7.1 Harmattan-1 (06/11/2011) : - SymPy 0.7.1 (29/07/2011) 1st version for MeeGo 1.2 Harmattan; - about 13 MB after install. Application manager information about SymPy 0.7.2, which takes 11.9 MB of installed files + 14 MB of compiled (.pyc) Python files (during installation) : http://www.robertocolistete.net/sympy/SymPy-N9-app.png The SymPy v0.7.2 was packaged in 104s on a Nokia N9 running Harmattan SDK on chroot, see the topic "Compiling & packaging on MeeGo Harmattan device". I will later update the 1st post, post new screenshots, benchmarks, examples of using the new plotting module, etc. (Done) SymPy 0.7.2 will also be released for Maemo 4 & 5. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
SymPy 0.7.2 package (see previous post) is now also available for Maemo 4 Diablo :
python-sympy_0.7.2-1maemo1-m4_all.deb (2.3 MB) and Maemo 5 Fremantle : python-sympy_0.7.2-1maemo1_all.deb (2.3 MB). Install them using "$ dpkg -i <file.deb>" in X Terminal as root. They will be available in the Maemo's repositories after Maemo Extras builder comes back to working again. SymPy 0.7.2 for Maemo 4/5 takes approx. 25 MB after installation. Then follow the instructions of 1st post to install "SymPy interactive shell" and IPython for Maemo 4 / 5. Use on Maemo 5 : SymPy 0.7.2 now automatically loads PyLab (NumPy + MatPlotLib) if it is installed. As Maemo 5 has NumPy and MatPlotLib available in Extras/Extras-Devel repositories, the time to load SymPy 0.7.2 (using "from sympy import *") on a Nokia N900 @ 600 MHz will be different, approximately : * 3.5s without NumPy & MatPlotLib installed; * 4.1s with only NumPy installed; * 8.0s with both NumPy & MatPlotLib installed. The SymPy icon or the terminal command "isympy" launches the IPython interactive shell, adding more 2.0s. To install NumPy and MatPlotLib on Maemo 5, use the X Terminal as root with Extras-Devel repository enabled : # apt-get install python-numpy python-matplotlib Then follow the topic "Can not use matplotlib in ipython" to configure MatPlotLib. Use on Maemo 4 : As Maemo 4 doesn't have NumPy and MatPlotLib, SymPy 0.7.2 can't (automatically) load them. The time to load SymPy 0.7.2 (using "from sympy import *") on a Nokia N810 is approximately 11s. Using the SymPy icon or the terminal command "isympy" then takes 16s. Both SymPy v0.7.2 for Maemo 4 and Maemo 5 were packaged in approx. 63s on a Nokia N900 using PyPackager. (Done) I will later update the 1st post, post new screenshots, examples of using the new plotting module, etc. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
I don't see the crowd here but
SIR rcolistete you have done an amazing job. Kudos. Superb. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Quote:
|
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Quote:
talk.maemo.org/showthread.php?t=66470&goto=newpost @rcolistete you have done a very good work in this, thank you for supporting Maemo |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Quote:
I must say, SymPy, is a one hell of an app for Professionals related to Engineering/Sciences... Such great stuff this fella has brought to Maemo Fremantle/MeeGo Harmattan. One THANKS is not enough. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
The 1st post cites the new plotting module of SymPy 0.7.2, which depends on MatPlotLib and is available on Maemo 5 and MeeGo Harmattan.
Documentation and examples for SymPy 0.7.2 plotting module : - plotting module documentation; - 6 examples/tutorials in IPython notebook format in the "examples/beginner" github folder, with names starting with "plot_". Here are some examples of using the new "sympy.plotting" module, repeating some plots from post #11 (where the other option to make plots in SymPy, "Plot()"/PyGlet, was used). Observations about MatPlotLib on : - Maemo 5, there is the warning message : "/usr/lib/python2.5/site-packages/matplotlib/font_manager.py:1242: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to Bitstream Vera Sans" and some symbols ('-' in axis numbers, etc) are not shown. - Maemo 5 and MeeGo Harmattan, plotting commands without the option "show=False", or using the function "show()", opens the interactive backend of MatPlotLib on your N900; - Maemo 5 has MatPlotLib v1.0.0 which is not 100% compatible with sympy.plotting 3D graphics, so "plot3d_parametric_line", "surface_color" option for 3D plots, don't work; - MeeGo Harmattan, use MatPlotLib 1.2.0 so all the features cited here will work. The 1st time is measured (with "%time") after loading "isympy", the 2nd time is for repeating plottings. Time is measured on Nokia N9 @ 1 GHz (with MatPlotLib 1.2.0 & NumPy 1.7.0) and Nokia N900 @ 600 Mhz (with MatPlotLib 1.0.0 & NumPy 1.4.0). 2D Plot of a function of 1 variable, y = f(x), a dumped harmonic oscillator : In [1]: oscillator_plot = plot(2.5*exp(-1.0*x/2)*cos(pi*x), (x,0,10), title='Dumped harmonic oscillator', legend=True, xlabel='x', show=False) In [2]: oscillator_plot.save("oscillator.png") Timing : Nokia N9 (2.9s/2.6s), N900 (6.1s/4.0s). http://www.robertocolistete.net/Pyth...oscillator.png 2D parametric function of 1 variable, x = f(t), y = g(t), here an explosion. The "line_color" option can be a constant or a function of parameter (here the radius). The sampling is changed from the default adaptive to 1600 points. In [1]: from sympy.plotting import plot_parametric In [2]: explosion = plot_parametric(t*sin(8*t)*cos(8*t)*cos(t), t*sin(8*t)*cos(8*t)*sin(t), (t,0,4*pi), title='Parametric Explosion', xlabel='x', ylabel='y', show=False) In [3]: explosion[0].line_color = lambda x, y : sqrt(x**2 + y**2) In [4]: explosion[0].adaptive = False In [5]: explosion[0].nb_of_points = 1600 In [6]: explosion.save("explosion.png") Timing : Nokia N9 (5.1s/4.0s), N900 (16s/9.8s). http://www.robertocolistete.net/Pyth..._explosion.png 2D parametric plot of 1 variable (t), where x = r*cos(t), y = r*sin(t), with r the polar coordinate. Here r = cos(4*t), i.e., a polar rose with 8 petals : In [1]: from sympy.plotting import plot_parametric In [2]: polar_rose = plot_parametric(cos(4*t)*cos(t), cos(4*t)*sin(t), (t,0,2*pi), title='Polar Rose', show=False) In [3]: polar_rose[0].line_color = lambda t : cos(t) In [4]: polar_rose.save("polar-rose.png") Timing : Nokia N9 (5.6s/2.7s), N900 (11.5s/4.8s). http://www.robertocolistete.net/Pyth...polar-rose.png 3D parametric curve of 1 variable, x = f(u), y = g(u), z = h(u), here a 3D wire. We changed the line color to follow the parameter and the sampling from 300 default points to 800 points. "plot3d_parametric_line" needs MatPlotLib >= 1.1, e.g. MatPlotLib 1.2.0, so only available on Nokia N9/N950. In [1]: from sympy.plotting import plot3d_parametric_line In [2]: wire3D = plot3d_parametric_line((2+cos(16*t))*cos(t), (2+cos(16*t))*sin(t), sin(16*t), (t,0,2*pi), title='Wire 3D curve', xlabel='x', ylabel='y', show=False) In [3]: wire3D[0].line_color = lambda t : t In [4]: wire3D[0].nb_of_points = 800 In [5]: wire3D.save("wire3D.png") Timing : Nokia N9 (7s/6s). http://www.robertocolistete.net/Pyth...ric3D-wire.png 3D surface in cartesian coordinates of 2 variables, z = f(x,y), it is by default z colored and has 50 x 50 domain points : In [1]: from sympy.plotting import plot3d In [2]: surface3D = plot3d(5*x*y*exp(-x**2-y**2), (x,-2,2), (y,-2,2), title='Surface z colored', xlabel='x', ylabel='y', show=False) In [3]: surface3D.save("surface3D.png") Timing : Nokia N9 (11s/10s), N900 (57s/57s). http://www.robertocolistete.net/Pyth...-z-colored.png The "surface_color" option (needs MatPlotLib 1.2.0, available only on Nokia N9/N950) is here a function of the radius and the domain is changed to 100 x 100 points : In [1]: from sympy.plotting import plot3d In [2]: surface3D = plot3d(5*x*y*exp(-x**2-y**2), (x,-2,2), (y,-2,2), title='Surface z colored', xlabel='x', ylabel='y', show=False) In [3]: surface3D[0].surface_color = lambda x, y : sqrt(x**2 + y**2) In [4]: surface3D[0].nb_of_points_x = 100; surface3D[0].nb_of_points_y = 100 In [5]: surface3D.save("surface3D-2.png") Timing : Nokia N9 (40s/37s). http://www.robertocolistete.net/Pyth...-colored-2.png 3D parametric surface of 2 variables, x = f(u,v), y = g(u,v), z = h(u,v), here a moebius strip, it is by default z colored and has 50 x 50 domain points : In [1]: from sympy.plotting import plot3d_parametric_surface In [2]: u, v = symbols('u v') In [3]: moebius_strip = plot3d_parametric_surface((2+(v/2)*cos(u/2))*cos(u), (2+(v/2)*cos(u/2))*sin(u), (v/2)*sin(u/2), (u,0,2*pi), (v,-1,1), title='Moebius strip', xlabel='x', ylabel='y', show=False) In [4]: moebius_strip.save("moebius-strip.png") Timing : Nokia N9 (11s/10s), N900 (95s/95s). http://www.robertocolistete.net/Pyth...bius-strip.png The "surface_color" option (needs MatPlotLib 1.2.0, available only on Nokia N9/N950) is here a function of "u", and the domain is changed to 100 x 20 points : In [1]: from sympy.plotting import plot3d_parametric_surface In [2]: u, v = symbols('u v') In [3]: moebius_strip = plot3d_parametric_surface((2+(v/2)*cos(u/2))*cos(u), (2+(v/2)*cos(u/2))*sin(u), (v/2)*sin(u/2), (u,0,2*pi), (v,-1,1), title='Moebius strip', xlabel='x', ylabel='y', show=False) In [4]: moebius_strip[0].surface_color = lambda u : cos(u) In [5]: moebius_strip[0].nb_of_points_u = 100; moebius_strip[0].nb_of_points_v = 20 In [6]: moebius_strip.save("moebius-strip-2.png") Timing : Nokia N9 (10s/8s). http://www.robertocolistete.net/Pyth...us-strip-2.png |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
rcolistete. Much Appreciated.
keep up the brilliant work! |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
The 2nd option to plot using SymPy 0.7.1/0.7.3, and the 3rd option to plot inside SymPy 0.7.2 is the use of mpmath plotting functions, which depend on MatPlotLib, so only available on Maemo 5 and MeeGo Harmattan.
Here are some examples of using the mpmath plotting functions, repeating some plots from post #11 (where another option to make plots in SymPy, "Plot()"/PyGlet, was used). Observations about mpmath plots and MatPlotLib : - mpmath plotting has no 2D parametric plots and no options to specify axis names, title name, plot color, etc; - "import sympy.mpmath" is used instead of "from sympy.mpmath import *" to avoid conflict with the new "plot()" function (from plotting module); - on Maemo 5, there is the warning message : "/usr/lib/python2.5/site-packages/matplotlib/font_manager.py:1242: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to Bitstream Vera Sans" and some symbols ('-' in axis numbers, etc) are not shown. - on Maemo 5 and MeeGo Harmattan, mpmath plot functions without the option "file=<filename>" opens the interactive backend of MatPlotLib on your Nokia N900/N9/N950; - on Maemo 5, the surface plots have some faulty colors, due MatPlotLib v1.00 being old; - on MeeGo Harmattan, use MatPlotLib 1.2.0 so all the features cited here will work. The 1st time is measured (with "%time") after loading "isympy", the 2nd time is for repeating plottings. Time is measured on Nokia N9 @ 1 GHz (with MatPlotLib 1.2.0 & NumPy 1.7.0) and Nokia N900 @ 600 Mhz (with MatPlotLib 1.0.0 & NumPy 1.4.0), both using SymPy 0.7.2. 2D Plot of a function of 1 variable, y = f(x), a dumped harmonic oscillator : In [1]: import sympy.mpmath In [2]: mpmath.plot(lambda x: 2.5*exp(-1.0*x/2)*cos(mpmath.pi*x), [0,10], file="oscillator.png") Timing : Nokia N9 (4.8s/2.5s), N900 (8.9s/3.6s) http://www.robertocolistete.net/Pyth...oscillator.png 2D Density plot of complex function of z = re + j*im, here the zeta function : In [1]: import sympy.mpmath In [2]: mpmath.cplot(mpmath.zeta, re=[-7, 2], im=[-5, 5], file="zeta.png") Timing : Nokia N9 (45s/44s), N900 (92s/88s) http://www.robertocolistete.net/Pyth...-plot_zeta.png 3D surface in cartesian coordinates of 2 variables, z = f(x,y), it is by default z colored : In [1]: import sympy.mpmath In [2]: mpmath.splot(lambda x, y: 5*x*y*exp(-x**2-y**2), [-2,2], [-2,2], file="surface3D.png") Timing : Nokia N9 (21s/15s), N900 (47s/36s). http://www.robertocolistete.net/Pyth...ot_surface.png 3D parametric surface of 2 variables, x = f(u,v), y = g(u,v), z = h(u,v), here a moebius strip : In [1]: import sympy.mpmath In [2]: mpmath.splot(lambda u, v: [(2+(v/2)*cos(u/2))*cos(u), (2+(v/2)*cos(u/2))*sin(u), (v/2)*sin(u/2)], u=[0,2*mpmath.pi], v=[-1,1], file="moebius-strip.png") Timing : Nokia N9 (22s/20s), N900 (51s/47s). http://www.robertocolistete.net/Pyth...bius-strip.png |
This is awesome. I'm amazed. Any news about a GUI?
|
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Quote:
|
Quote:
|
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Benchmark of SymPy 0.7.2 (it automatically loads PyLab, i.e., NumPy & MatPlotLib) and Sympy 0.7.1 :
Nokia N9 @ 1 GHz with IPython 0.13.1, NumPy 1.4.1 and MatPlotLib 1.0.0 installed : - "from sympy import *" : 3.5s (v0.7.2), 2.4s (v0.7.2 without MatPlotLib), 2.0s (v0.7.2 without PyLab), 1.7s (v0.7.1); - isympy in X Terminal : 5.6s (v0.7.2), 4.5s (v0.7.2 without MatPlotLib), 4.1s (v0.7.2 without PyLab), 3.7s (v0.7.1); - "integrate(x**5/(alpha*x**2+beta)**2,x)" : 3.1s (v0.7.2), 5.6s (v0.7.1); Nokia N900 @ 600 MHz with IPython 0.10.2, NumPy 1.4.0 and MatPlotLib 1.0.0 installed : - "from sympy import *" : 8.0s (v0.7.2), 4.1s (v0.7.2 without MatPlotLib), 3.5s (v0.7.2 without PyLab), 2.3s (v0.7.1); - SymPy icon or isympy in X Terminal : 10s (v0.7.2), 6.1s (v0.7.2 without MatPlotLib), 5.5s (v0.7.2 without PyLab), 4.0s (v0.7.1); - "integrate(x**5/(alpha*x**2+beta)**2,x)" : 6.6s (v0.7.2), 10s (v0.7.1); Nokia N810 with IPython 0.10.2 : - "from sympy import *" : 11s (v0.7.2), 6.5s (v0.7.1); - SymPy icon or isympy on X Terminal : 16s (v0.7.2), 12s (v0.7.1); - "integrate(x**5/(alpha*x**2+beta)**2,x)" : 22s (v0.7.2), 31s (v0.7.1); |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
1st post is updated with detailled instructions to install and use SymPy 0.7.2. Also using IPython 0.13.1 Notebook/Qt console with SymPy 0.7.2 is cited for MeeGo Harmattan.
Also post #30 about new plotting module and post #32 with mpmath plotting were updated with more examples and timings for MatPlotLib 1.2.0 & NumPy 1.7.0 on MeeGo Harmattan. So MeeGo Harmattan has the main scientific Python tools updated with respect to upstream : - SymPy 0.7.2 (16/10/2012); - IPython 0.13.1 (21/10/2012), including terminal, Notebook & Qt console interfaces; - MatPlotLib 1.2.0 (08/01/2013); - NumPy 1.7.0 (10/02/2013). Many PC OS distributions are not so updated at the moment. All of them available directly on Nokia N9/N950 or using it as an IPython Notebook 0.13.1 server for remote web clients (PC's, Nokia N900, Android devices, etc), see post #19 of the IPython for MeeGo Harmattan topic. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
SymPy 0.7.3 (upstream version from 14/07/2013) is released today (05/08/2013) for Maemo 4, Maemo 5 and MeeGo Harmattan. See 1st post.
Check the release notes of SymPy 0.7.3, this new version has a lot of improvements and bug fixes. Some of them : - improved integration with Risch integration algorithm; - fixed the bug about SymPy always loading NumPy & MatPlotLib; - fixed the bug about "init_printing(pretty_print=False)" not working; - The IPython extension, i.e., "%load_ext sympy.interactive.ipythonprinting" (or "%load_ext sympyprinting") is deprecated. Use "from sympy import init_printing; init_printing()" instead inside IPython to obtain pretty printing. - last version of SymPy to support Python 2.5 (which is the official Python version for Maemo 4 and 5). SymPy 0.7.3 for Mer / Nemo / Sailfish can be seen in the topic "Python (modules) on Mer/Nemo". Only in interactive mode (using e.g., "isympy") that SymPy 0.7.3 automatically loads PyLab (NumPy & MatPlotLib). Benchmarks of SymPy 0.7.3 : Nokia N9 @ 1 GHz with IPython 0.13.2, NumPy 1.7.1 and MatPlotLib 1.2.1 installed : - "from sympy import *" : 2.4s; - isympy in X Terminal : 7.5s (with PyLab), 4.9s (without MatPlotLib), 4.6s (without PyLab); - "integrate(x**5/(alpha*x**2+beta)**2,x)" : 4.2s. Nokia N900 @ 600 MHz with IPython 0.10.2, NumPy 1.4.0 and MatPlotLib 1.0.0 installed : - "from sympy import *" : 4.5s (0.7.3); - SymPy icon or isympy in X Terminal : 6.4s (with PyLab), 5.8s (without MatPlotLib), 5.5s (without PyLab); - "integrate(x**5/(alpha*x**2+beta)**2,x)" : 9.1s (v0.7.3). Nokia N810 with IPython 0.10.2 : - "from sympy import *" : 16s (v0.7.3), 11s (v0.7.2), 6.5s (v0.7.1); - SymPy icon or isympy on X Terminal : 22s (v0.7.3), 16s (v0.7.2), 12s (v0.7.1); - "integrate(x**5/(alpha*x**2+beta)**2,x)" : 35s (v0.7.3), 22s (v0.7.2), 31s (v0.7.1). The upgrade to SymPy 0.7.3 is recommended for Maemo 4, Maemo 5 and MeeGo Harmattan. It is slower to load but it has many improved features (integration, etc), better IPython compatibility, many bug fixes, etc. |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
Some issues about SymPy 0.7.3 for Maemo 5 :
- "Plot()" using PyGlet has some bug that doesn't open the plotting window (this bug also happens on PC's, no only on Nokia N900). This issue was reported to SymPy group and solved by using some SymPy 0.7.2 code for PyGlet "Plot()"; - the new plotting module on SymPy 0.7.3 needs MatPlotLib >= 1.1.0, but Maemo 5 currently has MatPlotLib 1.0.0, so it doesn't work. I will later try to package MatPlotLib 1.2/1.3 for Maemo 5, solving this issue. Other issues about SymPy 0.7.3 for Maemo 4 & 5 : - version 0.7.1 of SymPy interactive shell (which has SymPy icon and isympy script) is not compatible with SymPy 0.7.3 (IPython 0.10.2 is not started, only the Python shell), so I've released "SymPy interactive shell" 0.7.3, see 1st post; - "tests/" subfolders of python-sympy 0.7.3 source code were removed to save installation space, from 31MB to 20MB. So, on Maemo 5, SymPy 0.7.3 currently has 2 plotting options : PyGlet "Plot()" and mpmath plotting with MatPlotLib. While on SymPy 0.7.2 there are 3 plotting options : PyGlet "Plot()", new plotting module and mpmath plotting with MatPlotLib. But SymPy 0.7.2 has some bugs (which were fixed in v0.7.3). |
Re: [Announce] SymPy (Computer Algebra System) for Maemo 4 & 5 & 6
SymPy 0.7.3 and "SymPy interactive shell" 0.7.3 are now available in extras repository for Maemo 4 and extras-devel/extras-testing repositories for Maemo 5, see 1st post.
Please help promote SymPy 0.7.3 for Maemo 5 by voting in extras-testing, see 1st post. |
All times are GMT. The time now is 01:08. |
vBulletin® Version 3.8.8