SympyCore

SympyCore project's aim is to seek out new high performance solutions to represent and manipulate symbolic expressions in Python
Download

SympyCore Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Pearu Peterson and Fredrik Johansson
  • Publisher web site:
  • http://code.google.com/p/sympycore/

SympyCore Tags


SympyCore Description

SympyCore project's aim is to seek out new high performance solutions to represent and manipulate symbolic expressions in Python SympyCore project's aim is to seek out new high performance solutions to represent and manipulate symbolic expressions in the Python programming language, and to try out new symbolic models to achieve fundamentally consistent and sufficiently generalUsage:Sympycore package is avaliable for download as a gzipped tar archive and as a Windows binary installer. To install sympycore from an archive, unpack the tar file and run the following command inside sympycore- directory: python setup.py installThe development code is available in the SVN repository. Non-members can check out sympycore using the command (see Source for more information):svn checkout http://sympycore.googlecode.com/svn/trunk/ sympycoreUse python setup.py install to install sympycore or add the location of checked out sympycore to PYTHONPATH to make it available for python import. Note that starting from version 0.2, sympycore implements some features in C for speed. However, parallel to that, pure python versions of these features are provided in case one cannot build the provided extension modules. To build the extension modules inside sympycore source tree, use one of the following commands: python setup.py build_ext --inplace python setup.py build_ext --inplace --compiler=mingw32 # when using MinGW compiler on windowsImport sympycore with>>> from sympycore import *>>> a,b=map(Symbol,'ab')>>> (a+b)**3Calculus('(a + b)**3')>>> ((a+b)**3).diff(a)Calculus('3*(a + b)**2')>>> ((a+b)**3).diff(a).expand()Calculus('3*a**2 + 3*b**2 + 6*a*b')See Documentation page for SympyCore User's Guide as well as other documentation bits.To run tests, execute one of the following commands in sympycore directory:PYTHONPATH=py.test -s sympycore/nosetests sympycoreRequirements:· Python 2.5 or newer Requirements: · Python 2.5 or newer


SympyCore Related Software