symengine.py icon indicating copy to clipboard operation
symengine.py copied to clipboard

Python wrappers for SymEngine

Results 97 symengine.py issues
Sort by recently updated
recently updated
newest added

Failure: ``` $ python3.9 test_arit.py src/tcmalloc.cc:333] Attempt to free invalid pointer 0x82799f060 Abort trap ``` Stack trace: ``` #0 thr_kill () at thr_kill.S:4 #1 0x000000080072d104 in __raise (s=s@entry=6) at /disk-samsung/freebsd-src/lib/libc/gen/raise.c:52...

For example, ```sympy``` is expected but is not mentioned as a dependency.

When executing the symengine `subs` on just basic types a callback to the python interpreter is make. A minimal example: ``` import symengine x,y=symengine.symbols('x, y') f=x*x+y*y/2 f.subs({x: 1.0, y: x})...

enhancement

Hi, The simplify function here still calls sympy, which is really time consuming. Since symengine has already implemented its own simplify function. Could you please update the simplify function as...

enhancement

``` CMake Error at /usr/local/lib/cmake/symengine/SymEngineTargets.cmake:82 (message): The imported target "teuchos" references the file "/usr/local/lib/libteuchos.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or...

``` SymEngine_DIR : /usr/local/lib/cmake/symengine SymEngine Version : 0.9.0 CMake Error at cmake/FindPython.cmake:7 (string): string sub-command STRIP requires two arguments. Call Stack (most recent call first): CMakeLists.txt:16 (find_package) ```

The C++ object has to keep a reference to the Python object and the Python object needs to keep a reference to the C++ object. See https://stackoverflow.com/questions/44993726/cyclic-reference-in-python-c-extension

I want to lambdify the following piecewise function ```python import symengine as sym amp, t, duration = sym.symbols("amp, t, duration") expr = amp * sym.Piecewise((1, t < duration), (0, sym.true))...

* simplify Immutable to new Immutable * sympy.sympify matrices to Immutable