Oscar Benjamin

Results 106 issues of Oscar Benjamin

Python bugfix releases have just been issued that break converting large integers to and from strings: ```python >>> import math >>> n = math.factorial(1559) >>> n Traceback (most recent call...

This integral hangs: ```python Integral(t*exp(2*t)*log(t)/(t**2*exp(2*t) + 1) + (t**2*exp(t)*log(t)/(t**2*exp(2*t) + 1) + t*log(t)*atan(t*exp(t)) + sqrt(t*exp(t)*log(t))*exp(-t)*acos(exp(t)*log(t))/2 - sqrt(t*exp(t)*log(t))*log(t)/sqrt(-exp(2*t)*log(t)**2 + 1))*exp(t) + exp(t)*log(t)*atan(t*exp(t)) + sqrt(t*exp(t)*log(t))*acos(exp(t)*log(t))/(2*t) + (t*exp(t)*atan(t*exp(t)) + sqrt(t*exp(t)*log(t))*acos(exp(t)*log(t))/(2*log(t)) - sqrt(t*exp(t)*log(t))*exp(t)/sqrt(-exp(2*t)*log(t)**2 +...

integrals
Performance
integrals.heurisch

In SymPy 1.8 and earlier versions it is possible to put non-Expr elements in a Matrix and the matrix elements could be any arbitrary Python object: ```python In [1]: M...

Deprecation Removal
matrices

This integral evaluates to 0 when it should be `2*pi`: ```python In [16]: i = Integral(sin(x)*atan2(sin(x), cos(x)), (x, -pi, pi)) In [17]: i Out[17]: π ⌠ ⎮ sin(x)⋅atan2(sin(x), cos(x)) dx...

integrals
integrals.definite

The problem is that in the FiniteSet case evalf recurses to the args like this: https://github.com/sympy/sympy/blob/b3cae120dad022dd83e338df69c45f60dd95efd9/sympy/sets/sets.py#L1886-L1887 Since that calls `_evalf` the call will go through to `_eval_evalf` which in the...

core.evalf

> I've opened a CPython issue: > [python/cpython#102250](https://github.com/python/cpython/issues/102250) I've confirmed that this is a CPython bug so I'm just going to mark the CPython 3.12 job as not being required...

Uncategorised
CI

This issue is to track the release of sympy 1.12. The release notes for 1.12 are here: https://github.com/sympy/sympy/wiki/Release-Notes-for-1.12 The issue for the previous release 1.11 is #23740 The release branch...

Releasing

CC @mkoeppe After merging #24661 I see failures of the Sage job: ``` remote: Repository not found. Error: fatal: repository 'https://github.com/sagemath/sage/' not found Error: The process '/usr/bin/git' failed with exit...

Testing
CI

See also #7219 which is about applying Laplace transform rules for derivatives and integrals of unknown functions. Currently the Laplace transform of an unknown function prints like: ```julia In [2]:...

printing
integrals.transforms

This is from SO: https://stackoverflow.com/questions/72620435/complete-solutions-of-system-of-equations-with-python/72635743?noredirect=1#comment128326052_72635743 The following system of polynomial equations is apparently one that SymPy's various solvers struggle with: ```python from sympy import * x,y = symbols('x,y') rea1 =...

solvers
polys
solvers.solve
solvers.solveset
solvers.nonlinsolve