-
I am moving from MATLAB symbolic toolbox to `sympy`. I have a big symbolic code that generates equations of motion for a quadcopter and the goal is to generate C/C++ code out of those equations of mot…
-
Running
```python
integrate(floor(x), x, 0, infinity, algorithm='sympy')
```
returns
```python
integrate(floor(x), x, 0, +Infinity)
```
and trying
```python
integrate(floor(x), x, 0, infinity, al…
-
Lambdify parses 'abs' as 'abs' from Sympy, but not as a Sympy "Abs" as discovered in #22318
Here it is:
```
import sympy
sympy_expr = sympy.sympify('abs(-42)', evaluate=False)
```
`sympy_expr`…
-
Hello,
Here is some piece of code that used to work fine, but not since sympy 1.10:
```
E = sympy.MatrixSymbol('E', 3, 3)
sympy.diff(sympy.trace(E)**2, E) # -> 2 tr(E) 1, OK
sympy.diff(sympy.trac…
-
Both:
```
from sympy import var, Eq, Matrix, solve
var('x1 x2 x3 x4')
x = Matrix([
[x1, x2],
[x3, x4]])
a = Matrix([
[-1, -2],
[9, -9]])
solve(Eq(x**x.det(), a))
```
and…
-
SYMPY UNSUPPORTED INPUT as JSON:
```
{"type":"structure","name":"interval","symbols":{},"errors":[],"intervalType":"closed","leftBound":{"type":"structure","name":"logarithm","symbols":{},"errors":[…
-
Hello,
sympy.nroots does not seem to respect the required precision when the root is complex (please see the picture below for a minimal example).
Asking for a high-precision real root, together…
-
```
The current module organization in SymPy is far from optimal. The "core" is
too big (several hundred kilobytes of code, much unrelated functionality
thrown in one place), and some closely related …
-
```
I'm logging this here as this seems to be a mpmath problem. The polynomial
'f' defined below is of order 2, and so it does not contain the 3rd
Chebyshev polynomial of the first kind: taking the sc…
-
Offending PRs:
- https://github.com/sympy/sympy/pull/11312
- https://github.com/sympy/sympy/pull/12808
- https://github.com/sympy/sympy/pull/13822
Benchmarks:
- http://www.moorepants.info/m…