Recent Releases of pyadic
pyadic - v0.2.4
[0.2.4] - 2025-04-23
Added
- Support for
FieldExtensionof an arbitrary number of square roots. Does not check for relations among square roots. With finite fields, a single square root is sufficient, assuming a branch. This approach does not assume branches, but hides relations.
Changed
Finite-field object
ModPcan be instantiated from a rational string, e.g.2/3, when the prime is also specified.Improved parsing of
GaussianRationaland its string representation.
Fixed
Fixed issue with
hashofModPandPAdiccausing clashes in caches withfunctools.lru_cachedue to hash(integer) = integer. Hashing function now hashes the string representation of the numbers.Fixed issue with
PAdicinstantiation from string, where if the primepand the number of digitskwere supplied it would fail to call the__rstr__parser expecting a rational number even if the string was already an expansion in p.CI doc workflow should now fail if Sphinx autodoc fails.
- Python
Published by GDeLaurentis 10 months ago
pyadic - v0.2.1
[0.2.1] - 2024-05-04
Added
- Multivariate Newton interpolation algorithm,
multivariate_Newton_polynomial_interpolation.
Changed
- Improved compatibility of
extended_euclidean_algorithm: output is of same type as input. - Improved
ModPandPAdicconstructors to handle a wider variety of inputs, e.g.ModP('+1', 2 ** 31 - 1)is now valid. - Splitting CI Test and Lint, adding automatic PyPI release workflow.
Fixed
- Rationalisation of $p$-adic non integers Issue 4.
- Fixed naming of
extended_euclidean_algorithm(wasextended_euclideal_algorithm).
- Python
Published by GDeLaurentis almost 2 years ago
pyadic - v0.2.0
v0.2.0 - 2024-01-02
Added
- Univariate Newton and Thiele interpolation algorithms,
Newton_polynomial_interpolationandThiele_rational_interpolation. - Gaussian rationals,
GaussianRational, moved from lips. - This changelog.
Changed
vec_chained_FF_rationalizeoptimized for sparse tensors. New keywordoptimize_for_sparse_arraysdefaults toTrue.
Fixed
- Precision of
PAdicwhen instantiated from negative integers proportional to the prime Issue 3. - Recursion issue in rationalizaton ($\mathbb{F}_p \rightarrow \mathbb{Q}$) of tensors using
numpy.vectorize. - Compatibility with
numpy.uint32andnumpy.uint64.
- Python
Published by GDeLaurentis about 2 years ago