Opened 5 years ago

Last modified 3 years ago

#24503 new enhancement

improve `LazyAlgebraic`

Reported by: Vincent Delecroix Owned by:
Priority: major Milestone:
Component: basic arithmetic Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Vincent Delecroix)

In order to be used consistently with QQbar and number fields, the class LazyAlgebraic in sage.rings.real_lazy should be made

  • faster - among other things we provide C and Cython versions of the eval method for all floating point types (mpfr, mpc, mpfi, arb, etc)
  • more accurate: certify that it is a given root of a polynomial from its creation
  • more autonomous (the eval is computing the roots each time!!)

As a follow-up ticket, we replace most of the structure for dealing with embedded real fields using this enhanced LazyAlgebraic.

See also the QQbar meta ticket #18333

Change History (4)

comment:1 Changed 4 years ago by Vincent Delecroix

Description: modified (diff)
Milestone: sage-8.2sage-8.6

comment:2 Changed 4 years ago by Erik Bray

Milestone: sage-8.6sage-8.7

Retarging tickets optimistically to the next milestone. If you are responsible for this ticket (either its reporter or owner) and don't believe you are likely to complete this ticket before the next release (8.7) please retarget this ticket's milestone to sage-pending or sage-wishlist.

comment:3 Changed 4 years ago by Erik Bray

Milestone: sage-8.7sage-8.8

Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually)

comment:4 Changed 3 years ago by Erik Bray

Milestone: sage-8.8

As the Sage-8.8 release milestone is pending, we should delete the sage-8.8 milestone for tickets that are not actively being worked on or that still require significant work to move forward. If you feel that this ticket should be included in the next Sage release at the soonest please set its milestone to the next release milestone (sage-8.9).

Note: See TracTickets for help on using tickets.