@@ -185,40 +185,45 @@ Highlights (0.7.0):
185
185
available for ` Flint >= 3.1 ` ). (EC)
186
186
- [ gh-129 ] ( https://github.com/flintlib/python-flint/pull/129 )
187
187
Use meson/meson-python instead of setuptools as the build system
188
- for parallel builds and better detection of dependency
188
+ for parallel builds and better detection of build and dependency
189
189
requirements. (OB)
190
190
191
191
Compatibility break (0.7.0):
192
192
193
193
- [ gh-189 ] ( https://github.com/flintlib/python-flint/pull/189 )
194
194
As of python-flint 0.7.0 ` fmpq_poly.factor() ` now returns
195
- primitive rather than monic factors i.e. ` 2*x + 1 ` rather than `x
196
- + 1/2`. This ensures consistency between all poly types including
197
- between ` fmpq_poly ` and ` fmpq_mpoly ` . (OB)
195
+ primitive rather than monic factors i.e. ` 2*x + 1 ` rather than
196
+ ` x + 1/2` . This ensures consistency between all poly types
197
+ including between ` fmpq_poly ` and ` fmpq_mpoly ` . (OB)
198
198
199
199
Other changes (0.7.0):
200
200
201
+ - [ gh-189 ] ( https://github.com/flintlib/python-flint/pull/189 )
202
+ All scalar and poly types now have ` sqrt ` . All poly types now
203
+ have ` factor_squarefree ` and ` leading_coefficient ` methods.
204
+ Exception types raised in a number of places were changed to
205
+ ` DomainError ` for better consistency.
201
206
- [ gh-196 ] ( https://github.com/flintlib/python-flint/pull/196 )
202
- Supported Python versions are 3.10-3.13 (3.9 dropped). CI Testing
203
- added for 3.13 free-threaded CPython.
207
+ Supported Python versions are 3.10-3.13 (3.9 dropped). CI
208
+ Testing added for 3.13 free-threaded CPython.
204
209
- [ gh-194 ] ( https://github.com/flintlib/python-flint/pull/194 )
205
210
Add version checking for build requirements. (OB)
206
211
- [ gh-180 ] ( https://github.com/flintlib/python-flint/pull/180 )
207
- Add ` equal_trunc ` , ` add_trunc ` , ` sub_trunc ` , ` mul_low ` , ` mul_mod `
208
- and ` pow_trunc ` methods to ` fmpz_mod_poly ` . (GP)
212
+ Add ` equal_trunc ` , ` add_trunc ` , ` sub_trunc ` , ` mul_low ` ,
213
+ ` mul_mod ` and ` pow_trunc ` methods to ` fmpz_mod_poly ` . (GP)
209
214
- [ gh-177 ] ( https://github.com/flintlib/python-flint/pull/177 )
210
215
Remove old Py2 code for compatibility with Cython 3.1. (OB)
211
216
- [ gh-176 ] ( https://github.com/flintlib/python-flint/pull/176 )
212
217
Fix the error messages from ` fmpq ` constructor. (OB)
213
218
- [ gh-174 ] ( https://github.com/flintlib/python-flint/pull/174 )
214
219
Add ` pow_mod ` and ` compose_mod ` methods to ` nmod_poly ` and
215
- ` fmpz_mod_poly ` . Also add some missing methods to ` nmod_poly ` that
216
- other poly types already have. (GP)
220
+ ` fmpz_mod_poly ` . Also add some missing methods to ` nmod_poly `
221
+ that other poly types already have. (GP)
217
222
- [ gh-172 ] ( https://github.com/flintlib/python-flint/pull/172 )
218
223
Add ` fmpz_is_square ` . (JR)
219
224
- [ gh-168 ] ( https://github.com/flintlib/python-flint/pull/168 )
220
- Make comparisons consistent between different types. Add ` is_one `
221
- and ` is_zero ` for all poly types. (OB)
225
+ Make comparisons consistent between different types. Add
226
+ ` is_one ` and ` is_zero ` for all poly types. (OB)
222
227
- [ gh-161 ] ( https://github.com/flintlib/python-flint/pull/161 )
223
228
Add ` acb.lerch_phi ` to compute the Lerch transcendent. (OB)
224
229
- [ gh-160 ] ( https://github.com/flintlib/python-flint/pull/160 )
@@ -265,7 +270,8 @@ Important compatibility changes:
265
270
[ gh-98 ] ( https://github.com/flintlib/python-flint/issues/98 ) :
266
271
Switch from Flint 2.9 to Flint 3.
267
272
- [ gh-100 ] ( https://github.com/flintlib/python-flint/issues/100 ) :
268
- Supports Python 3.12 by using setuptools instead of numpy.distutils.
273
+ Supports Python 3.12 by using setuptools instead of
274
+ numpy.distutils.
269
275
270
276
New features:
271
277
@@ -279,8 +285,8 @@ New features:
279
285
Bug fixes:
280
286
281
287
- [ gh-93 ] ( https://github.com/flintlib/python-flint/issues/93 ) :
282
- Fixes a bug with ` pow(int, int, fmpz) ` which previously gave incorrect
283
- results.
288
+ Fixes a bug with ` pow(int, int, fmpz) ` which previously gave
289
+ incorrect results.
284
290
- [ gh-78 ] ( https://github.com/flintlib/python-flint/issues/78 ) ,
285
291
[ gh-79 ] ( https://github.com/flintlib/python-flint/issues/79 ) :
286
292
minor fixes for the ` nmod ` type.
@@ -293,11 +299,12 @@ Bug fixes:
293
299
submodules
294
300
- [ gh-72 ] ( https://github.com/flintlib/python-flint/issues/72 ) :
295
301
The roots method of ` arb_poly ` is not supported. Use either the
296
- ` complex_roots ` method or ` acb_roots(p).roots() ` to get the old behaviour of
297
- returning the complex roots. The ` roots ` method on ` fmpz_poly ` and
298
- ` fmpq_poly ` now return integer and rational roots respectively. To access
299
- complex roots on these types, use the ` complex_roots ` method. For ` acb_poly ` ,
300
- both ` roots ` and ` complex_roots ` behave the same
302
+ ` complex_roots ` method or ` acb_roots(p).roots() ` to get the old
303
+ behaviour of returning the complex roots. The ` roots ` method on
304
+ ` fmpz_poly ` and ` fmpq_poly ` now return integer and rational
305
+ roots respectively. To access complex roots on these types, use
306
+ the ` complex_roots ` method. For ` acb_poly ` , both ` roots ` and
307
+ ` complex_roots ` behave the same
301
308
- [ gh-71 ] ( https://github.com/flintlib/python-flint/issues/71 ) :
302
309
Include files in sdist and fix issue
303
310
[ gh-70 ] ( https://github.com/flintlib/python-flint/issues/70 )
@@ -307,10 +314,11 @@ Bug fixes:
307
314
0.4.3
308
315
309
316
- [ gh-63 ] ( https://github.com/flintlib/python-flint/issues/63 ) :
310
- The ` roots ` method of ` arb_poly ` , and ` nmod_poly ` is no longer supported. Use
311
- ` acb_roots(p).roots() ` to get the old behaviour of returning the roots as
312
- ` acb ` . Note that the ` roots ` method of ` fmpz_poly ` and ` fmpq_poly ` currently
313
- returns the complex roots of the polynomial.
317
+ The ` roots ` method of ` arb_poly ` , and ` nmod_poly ` is no longer
318
+ supported. Use ` acb_roots(p).roots() ` to get the old behaviour
319
+ of returning the roots as ` acb ` . Note that the ` roots ` method of
320
+ ` fmpz_poly ` and ` fmpq_poly ` currently returns the complex roots
321
+ of the polynomial.
314
322
- [ gh-61 ] ( https://github.com/flintlib/python-flint/issues/61 ) :
315
323
Start refactoring job to introduce submodules into ` python-flint `
316
324
@@ -322,12 +330,14 @@ Bug fixes:
322
330
0.4.1
323
331
324
332
- [ gh-47 ] ( https://github.com/flintlib/python-flint/issues/47 ) :
325
- Removes Linux wheels, updates instructions for building from source.
333
+ Removes Linux wheels, updates instructions for building from
334
+ source.
326
335
327
336
0.4.0
328
337
329
338
- [ gh-45 ] ( https://github.com/flintlib/python-flint/issues/45 ) :
330
- Adds wheels for Windows, OSX and manylinux but the Linux wheels are broken.
339
+ Adds wheels for Windows, OSX and manylinux but the Linux wheels
340
+ are broken.
331
341
332
342
License
333
343
------------
0 commit comments