Skip to content

New method map_coefficients for Laurent series#41598

Merged
vbraun merged 15 commits intosagemath:developfrom
r-mb:laurent_series_map_coefficients
Mar 22, 2026
Merged

New method map_coefficients for Laurent series#41598
vbraun merged 15 commits intosagemath:developfrom
r-mb:laurent_series_map_coefficients

Conversation

@r-mb
Copy link
Copy Markdown
Contributor

@r-mb r-mb commented Feb 5, 2026

This PR adds a method map_coefficients for Laurent series. Such a method already exists for formal power series, polynomials, etc.

While I was on that file, I took the opportunity to remove the deprecated function is_LaurentSeries, removed in #38266 which was merged on 2024-08-03.

I have also improved the documentation: now no docstring nor method description should be missing. I also fixed minor stuff in the documentation, and linting.

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 5, 2026

Documentation preview for this PR (built with commit bacce66; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

r-mb and others added 2 commits February 6, 2026 08:52
Co-authored-by: Travis Scrimshaw <clfrngrown@aol.com>
Copy link
Copy Markdown
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last little doc things to be more explicit about the data.

r-mb and others added 2 commits February 9, 2026 06:42
Co-authored-by: Travis Scrimshaw <clfrngrown@aol.com>
@r-mb
Copy link
Copy Markdown
Contributor Author

r-mb commented Feb 9, 2026

Thanks for all the comments! The CI caught a small mistake, it should be fine now. (edit: force pushed a typo correction in the last commit message)

@r-mb r-mb force-pushed the laurent_series_map_coefficients branch from d311d8b to 91db921 Compare February 9, 2026 14:33
Copy link
Copy Markdown
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, right, sorry for forgetting about that. Thank you. Let's do that in one other place (and a second because I'm paranoid). This is the last thing before a positive review.

@tscrim
Copy link
Copy Markdown
Collaborator

tscrim commented Feb 17, 2026

Sorry for the slow response.

Thank you; positive review.

@r-mb
Copy link
Copy Markdown
Contributor Author

r-mb commented Feb 17, 2026

Thank you for your time!

@r-mb
Copy link
Copy Markdown
Contributor Author

r-mb commented Feb 26, 2026

There was a merge conflict with #41549.

vbraun pushed a commit to vbraun/sage that referenced this pull request Feb 28, 2026
sagemathgh-41598: New method `map_coefficients` for Laurent series
    
This PR adds a method `map_coefficients` for Laurent series. Such a
method already exists for formal power series, polynomials, etc.

While I was on that file, I took the opportunity to remove the
deprecated function `is_LaurentSeries`, removed in sagemath#38266 which was
merged on 2024-08-03.

I have also improved the documentation: now no docstring nor method
description should be missing. I also fixed minor stuff in the
documentation, and linting.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [X] The title is concise and informative.
- [X] The description explains in detail what this PR is about.
- [X] I have linked a relevant issue or discussion.
- [X] I have created tests covering the changes.
- [X] I have updated the documentation and checked the documentation
preview.
    
URL: sagemath#41598
Reported by: Rubén Muñoz--Bertrand
Reviewer(s): Rubén Muñoz--Bertrand, Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 6, 2026
sagemathgh-41598: New method `map_coefficients` for Laurent series
    
This PR adds a method `map_coefficients` for Laurent series. Such a
method already exists for formal power series, polynomials, etc.

While I was on that file, I took the opportunity to remove the
deprecated function `is_LaurentSeries`, removed in sagemath#38266 which was
merged on 2024-08-03.

I have also improved the documentation: now no docstring nor method
description should be missing. I also fixed minor stuff in the
documentation, and linting.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [X] The title is concise and informative.
- [X] The description explains in detail what this PR is about.
- [X] I have linked a relevant issue or discussion.
- [X] I have created tests covering the changes.
- [X] I have updated the documentation and checked the documentation
preview.
    
URL: sagemath#41598
Reported by: Rubén Muñoz--Bertrand
Reviewer(s): Rubén Muñoz--Bertrand, Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 15, 2026
sagemathgh-41598: New method `map_coefficients` for Laurent series
    
This PR adds a method `map_coefficients` for Laurent series. Such a
method already exists for formal power series, polynomials, etc.

While I was on that file, I took the opportunity to remove the
deprecated function `is_LaurentSeries`, removed in sagemath#38266 which was
merged on 2024-08-03.

I have also improved the documentation: now no docstring nor method
description should be missing. I also fixed minor stuff in the
documentation, and linting.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [X] The title is concise and informative.
- [X] The description explains in detail what this PR is about.
- [X] I have linked a relevant issue or discussion.
- [X] I have created tests covering the changes.
- [X] I have updated the documentation and checked the documentation
preview.
    
URL: sagemath#41598
Reported by: Rubén Muñoz--Bertrand
Reviewer(s): Rubén Muñoz--Bertrand, Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 18, 2026
sagemathgh-41598: New method `map_coefficients` for Laurent series
    
This PR adds a method `map_coefficients` for Laurent series. Such a
method already exists for formal power series, polynomials, etc.

While I was on that file, I took the opportunity to remove the
deprecated function `is_LaurentSeries`, removed in sagemath#38266 which was
merged on 2024-08-03.

I have also improved the documentation: now no docstring nor method
description should be missing. I also fixed minor stuff in the
documentation, and linting.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [X] The title is concise and informative.
- [X] The description explains in detail what this PR is about.
- [X] I have linked a relevant issue or discussion.
- [X] I have created tests covering the changes.
- [X] I have updated the documentation and checked the documentation
preview.
    
URL: sagemath#41598
Reported by: Rubén Muñoz--Bertrand
Reviewer(s): Rubén Muñoz--Bertrand, Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 21, 2026
sagemathgh-41598: New method `map_coefficients` for Laurent series
    
This PR adds a method `map_coefficients` for Laurent series. Such a
method already exists for formal power series, polynomials, etc.

While I was on that file, I took the opportunity to remove the
deprecated function `is_LaurentSeries`, removed in sagemath#38266 which was
merged on 2024-08-03.

I have also improved the documentation: now no docstring nor method
description should be missing. I also fixed minor stuff in the
documentation, and linting.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [X] The title is concise and informative.
- [X] The description explains in detail what this PR is about.
- [X] I have linked a relevant issue or discussion.
- [X] I have created tests covering the changes.
- [X] I have updated the documentation and checked the documentation
preview.
    
URL: sagemath#41598
Reported by: Rubén Muñoz--Bertrand
Reviewer(s): Rubén Muñoz--Bertrand, Travis Scrimshaw
@vbraun vbraun merged commit 73ce3ee into sagemath:develop Mar 22, 2026
22 of 23 checks passed
@r-mb r-mb deleted the laurent_series_map_coefficients branch March 23, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants