A Cython frontend to the fast C++ symbolic manipulation library GinacSym.
Project description
GinacSympy: GinacSym Python Wrappers
A Cython frontend to the C++ library GinacSym (https://github.com/mithun218/ginacsym), a fast C++ symbolic manipulation library.
Introduction
GinacSym (made on GiNaC, https://ginac.de) is a fast C++ symbolic manipulation library released under GPL v2 or above. It has many features:
- It is build on C and C++ libraries: gmp,mpfr,flint,cln
- It provides fast computations for multivariate polynomial operations (expansion and factorisation) using flint library, and
- symbolic computations: solving linear or nonlinear systems of equations, simplifications, series, integration, differentiation, Infinity, functions with dependend variable, real symbol,complex symbol,...
- It has many special functions which are computed using flint library.
- Linear Algebra with numerical or symbolic coefficients.
- Indexed objects, tensors, symmetrization
- Clifford algebra
- Color algebra
- and many more
GinacSympy is an interface to this library. It is built with cython.
Motivation
We are aware of the existence of the Sympy Python Library, a full computer algebra system. However, because sympy is a pure Python library (Sympy now depends on mpmath as an external library), symbolic manipulation of huge algebraic expressions is slow using it. Consequently, we have made an effort to create a computer algebra system that is both extremely fast in comparison to Sympy and quite simple to install, much like sympy.
Install
GinacSympy releases are available as wheel packages for Windows and Linux on PyPi. Install it using pip:
python -m pip install -U pip
python -m pip install -U ginacsympy
Short usage
>>>from ginacsympy import *
>>>a,b,c,d=Ex('a,b,c,d')
>>>expr=(a+b+c+d)**5
>>>expr=expr.expand()
>>>expr.factor()
(a+b+c+d)**5
For in-depth documentation click here.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ginacsympy-1.0.1-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: ginacsympy-1.0.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 7.6 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b0d58468595fbb349870e4152971d16a25b7ff042d25924b45b6db0e897f5fd
|
|
| MD5 |
5b3b7a321d7132560a78574f491a0029
|
|
| BLAKE2b-256 |
9f75da104a70b96b33c7e06861ca3494cc43152334e68714ac66d27a8531fe01
|
File details
Details for the file ginacsympy-1.0.1-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: ginacsympy-1.0.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 7.6 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bbe9d97cac76ab20318f91a21f7f4162a1fdf376c541e858219e5351f384b24
|
|
| MD5 |
7467a0d722188727c27d2602c79dd9b0
|
|
| BLAKE2b-256 |
5683301395df0193bfda447b48c535bda8dd6707082397edc2dddad1395fc5b1
|
File details
Details for the file ginacsympy-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: ginacsympy-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 55.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a83c0845c5dedd985a0d5be055fc100713a4a2687742e65395d220cef42a354a
|
|
| MD5 |
476ef2cc7c01b37c4c1030f0329049f9
|
|
| BLAKE2b-256 |
abc30bcc31e56ff1ef8a57d55afb1d60d7e1f5bc6ad57599489d18104a5db4ed
|
File details
Details for the file ginacsympy-1.0.1-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: ginacsympy-1.0.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 7.6 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50d62ec4bee41f318efa518ad8839b2248992ab707dd613d91e15b5434d06560
|
|
| MD5 |
9e94e92de1683f95a8227161bea2a53c
|
|
| BLAKE2b-256 |
19e8f519a86e04f00272fad0b28f20b1415b82a8120b2fdb8c66c4bb50cb215f
|
File details
Details for the file ginacsympy-1.0.1-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: ginacsympy-1.0.1-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 54.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd3453f09e3c26594e47368aab7d262901091c541399ef61bf775a0cb3f3d876
|
|
| MD5 |
30c6a5cae20c09036b13cd2fcf3807a6
|
|
| BLAKE2b-256 |
49274e8507bca2179120e65bc9bd4c8e2801fc25f9dacdac858df1f4f8f65627
|
File details
Details for the file ginacsympy-1.0.1-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: ginacsympy-1.0.1-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 7.6 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cd12a0b7f2834bca1effe2f0dea94d8e759af5852aa4f6e0ac85d4989b16e3a
|
|
| MD5 |
cda728347fa35636bb750d139a4b6eb5
|
|
| BLAKE2b-256 |
3344c761a57ecc50eb6ad117d6000fa326eacc96d13d942715718b1c31449134
|