Skip to content

rename .rational_reconstruct() to .rational_reconstruction() for consistency #12696

@zimmermann6

Description

@zimmermann6

For integers modulo n there is a rational_reconstruction method:

sage: R = IntegerModRing(97)
sage: a = R(2) / R(3)
sage: a.rational_reconstruction()
2/3

However for polynomials the corresponding method is named
rational_reconstruct:

sage: K.<x> = R[]            
sage: x.rational_reconstruct(x,4,4)
(0, 1)

The naming is incoherent.

CC: @jpflori

Component: basic arithmetic

Author: Lorenz Panny

Branch/Commit: 47c91ea

Reviewer: Kwankyu Lee

Issue created by migration from https://trac.sagemath.org/ticket/12696

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions