python-flint
python-flint copied to clipboard
Python bindings for Flint and Arb
This implements https://github.com/mesonbuild/meson/issues/13046#issuecomment-2099453043. On Linux the current meson build needs `LD_LIBRARY_PATH` to be set when using a local build of flint. This adds a project option to install the rpaths...
I've merged `master` into #59 and have started pouring over the changes. I've done a small refactor of the context cache to just get myself acquainted with the code base...
This is a more work in progress than a request to change the code. I'd like to get some comments before building this out completely. A few questions: Do we...
Currently python-flint builds using a setup.py and also uses distutils and numpy.distutils (see #4). As of Python 3.12 the stdlib distutils module is removed and also numpy is removing its...
I have used [Calcium](https://github.com/fredrik-johansson/calcium) 0.4 and its python interface [pycalcium/pyca](https://fredrikj.net/calcium/pycalcium.html). Now it does not work anymore since macOS homebrew updated my Flint installation from 2.x to 3.x to which it...
For `fmpz_mod_poly` we get an error when we cannot compute an inverse when performing operations ```py >>> from flint import fmpz_mod_poly_ctx, fmpz_mod_poly >>> R = fmpz_mod_poly_ctx(10) >>> f = R([1,2,3])...
I did this work a few weeks ago, then dropped it because I got married and now I'm trying to implement other work for a paper so my brain is...
Hi there! Really enjoying the latest releases of `python-flint`! I noticed that since `0.5.0`, there are wheels for `aarch64-darwin` and `x86_64-linux` which significantly reduce the burden of getting the python...
Mimics the code from gmpy2 and so depends on undocumented internals of PyLong. This uses rather more of the internals of PyLong than may be prudent. This PR is mainly...
Make sparse polynomials accessible e.g. for use within SymPy, as described in https://oscarbenjamin.github.io/blog/czi/post2.html#using-python-flint . Quote: > The biggest bang-for-buck that SymPy can get from FLINT would be from using FLINT’s...