Oscar Benjamin

Results 104 issues of Oscar Benjamin

It looks like Python 3.13 will provide public C API for efficiently converting to and from a `PyLong`. These should be compatible with `mpz_import/mpz_export` rather than converting between hex strings:...

type: performance

See https://groups.google.com/g/sage-devel/c/fOTkNoU02Oo/m/j116LUouBwAJ This upgrade includes doctest changes needed for compatibility with SymPy 1.13. This PR is also used by SymPy CI to keep track of compatibility between SymPy and Sage:...

c: packages: standard
s: positive review
v: large

We should consider whether this piece of code can be completely rewritten: https://github.com/sympy/sympy/blob/28c622d943072bb24d198d323ce8694b006e8960/sympy/solvers/solvers.py#L1869-L1896 So we have a branch that we go into if there are more symbols than equations so...

solvers
Performance
solvers.solve

### Discussed in https://github.com/sympy/sympy/discussions/26988 Originally posted by **sbalasbas3** August 23, 2024 I am using Python version 3.12.4 and Sympy 1.13.2 and this the function that I want to run: ```...

series
limits

Reduce the number of calls to to_number_field by caching the results when converting from Expr to a number field. #### References to other Issues or PRs #### Brief description of...

polys
Performance

For some reason integrate crashes with floats here: ```python In [21]: from sympy import integrate, symbols ...: x = symbols('x') ...: I = Integral(x**(3/2) * (x-1/2), (x,0,1)) In [22]: I...

integrals
floats
integrals.meijerg

The Set.is_subset method would fallback on computing the intersection of two sets. This is backwards though because a query like is_subset should be resolved without creating new sets and it...

sets

#### References to other Issues or PRs #### Brief description of what is fixed or changed Fixes gh-26873 #### Other comments #### Release Notes * utilities * It is not...

utilities

Also add minpoly for re and im. #### References to other Issues or PRs #### Brief description of what is fixed or changed ```python In [1]: r = RootOf(x**5 -...

polys

### Describe the bug We use extern typedef to tell Cython that we have integer types whose exact typedef is in some header file. Cython generates incorrect code for `sizeof`...