Opened 2 years ago

Closed 2 years ago

#29668 closed enhancement (fixed)

map_coefficients for Laurent polynomials

Reported by: kedlaya Owned by:
Priority: minor Milestone: sage-9.2
Component: commutative algebra Keywords: Laurent polynomials
Cc: Merged in:
Authors: Kiran Kedlaya Reviewers: Frédéric Chapoton
Report Upstream: N/A Work issues:
Branch: e26622a (Commits, GitHub, GitLab) Commit: e26622ad9ef99404c04cc25360214504cfa6feb7
Dependencies: Stopgaps:

Status badges


Currently elements of a polynomial ring have a method map_coefficients to apply a callable function to the coefficients, but Laurent polynomials do not. This ticket adds such a method.

Change History (6)

comment:1 Changed 2 years ago by kedlaya

  • Branch set to u/kedlaya/map_coefficients_for_laurent_polynomials

comment:2 Changed 2 years ago by kedlaya

  • Authors set to Kiran Kedlaya
  • Commit set to 9c80475a16339998495daf43a8c4579289788ca3
  • Status changed from new to needs_review

This is a straightforward port of the correspond method from ordinary polynomial. I put in in the common base class of univariate and multivariate Laurent polynomials.

New commits:

9c80475Add map_coefficients for Laurent polynomials

comment:3 Changed 2 years ago by git

  • Commit changed from 9c80475a16339998495daf43a8c4579289788ca3 to 5e1f5efad072f785e49492c5f434d2ee54d54293

Branch pushed to git repo; I updated commit sha1. New commits:

5e1f5efFix docstring formatting

comment:4 Changed 2 years ago by git

  • Commit changed from 5e1f5efad072f785e49492c5f434d2ee54d54293 to e26622ad9ef99404c04cc25360214504cfa6feb7

Branch pushed to git repo; I updated commit sha1. New commits:

e26622aFix docstring formatting (for real this time)

comment:5 Changed 2 years ago by chapoton

  • Reviewers set to Frédéric Chapoton
  • Status changed from needs_review to positive_review


comment:6 Changed 2 years ago by vbraun

  • Branch changed from u/kedlaya/map_coefficients_for_laurent_polynomials to e26622ad9ef99404c04cc25360214504cfa6feb7
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.