Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#26875 closed enhancement (fixed)

new method is_integral for elements of universal cyclotomic field

Reported by: chapoton Owned by:
Priority: major Milestone: sage-8.6
Component: algebra Keywords:
Cc: stumpc5, tscrim Merged in:
Authors: Frédéric Chapoton Reviewers: Christian Stump
Report Upstream: N/A Work issues:
Branch: b7f0b12 (Commits) Commit: b7f0b12d461b3ae4c8322275279b7c7e4e58f544
Dependencies: Stopgaps:

Description

as this can be useful

Change History (8)

comment:1 Changed 5 months ago by chapoton

  • Branch set to u/chapoton/26875
  • Commit set to b7f0b12d461b3ae4c8322275279b7c7e4e58f544
  • Status changed from new to needs_review

New commits:

b7f0b12new method "is_integral" for elements of universal cyclotomic field

comment:2 Changed 5 months ago by chapoton

green bot, please review

comment:3 Changed 5 months ago by stumpc5

  • Reviewers set to Christian Stump
  • Status changed from needs_review to positive_review

comment:4 Changed 5 months ago by vdelecroix

What was the point of all the changes

-        k = self._obj.Conductor().sage()
+        k = ZZ(self._obj.Conductor())

comment:5 follow-up: Changed 5 months ago by chapoton

For speed. The latter is slightly faster than the former.

Last edited 5 months ago by chapoton (previous) (diff)

comment:6 in reply to: ↑ 5 Changed 5 months ago by vdelecroix

Replying to chapoton:

For speed. The latter is slightly faster than the former.

Then why not make the former faster?

comment:7 Changed 5 months ago by vbraun

  • Branch changed from u/chapoton/26875 to b7f0b12d461b3ae4c8322275279b7c7e4e58f544
  • Resolution set to fixed
  • Status changed from positive_review to closed

comment:8 Changed 5 months ago by embray

  • Milestone changed from sage-8.5 to sage-8.6

This tickets were closed as fixed after the Sage 8.5 release.

Note: See TracTickets for help on using tickets.