symengine.py
symengine.py copied to clipboard
Python wrappers for SymEngine
I am currently trying to implement a custom function creation that works with both sympy and symengine as a backend. For this I looked at the example at https://docs.sympy.org/latest/modules/functions/index.html, but...
series does not seem to work with symbolic functions. As shown in the code below, when including a symbolic function in the expression given to series it kills the kernel...
With the current version of symengine (symengine-0.6.0) the following returns `True` ```python import symengine as se x = se.S('x') expr = se.Eq(x, 0) print(bool(expr)) ``` The outcome I expected was...
The logic operations don't support symbols like arithmetic operations, I tried it in sympy but it was super slow but in symengine it gives me errors. I don't know if...
SymPy provides support for indexed symbolic objects, i.e. vector or matrix variables. This is often useful when, say, taking partials with respect to different elements of some vector argument. Are...
Getting some outputs that's different from what I would get from `sympy`. Not sure if intentional. - `symengine.__version__ : 0.6.1` - `sympy.__version__ : 1.5.1` - Solution from `sympy` matches the...
The following piece of code produce a segmentation fault. I am trying to use series on the expression `1 / (1 + f(s) * x)` where `f` is a symbolic...
When constructing an expression from a string in SymPy, it is often useful to pass around a `locals` dict defining necessary symbols. This functionality is present in `sympy.sympify` via the...
`sympy.integrate` incorrectly treats a symengine symbol as tuple in its second argument. For example: ``` >>> import sympy as sy >>> import symengine as sg >>> x, y, z =...
The following code results in a error: ```python from symengine import symbols, Function x = symbols('x') f = Function('f') print(f(x).name) ```  Replacing symengine with sympy gives the desired result:...