Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating p-Adic polynomials from strings #15421

Open
sagetrac-afiori mannequin opened this issue Nov 15, 2013 · 3 comments
Open

Creating p-Adic polynomials from strings #15421

sagetrac-afiori mannequin opened this issue Nov 15, 2013 · 3 comments

Comments

@sagetrac-afiori
Copy link
Mannequin

sagetrac-afiori mannequin commented Nov 15, 2013

It would be nice to be able to create polynomials over the p-adics by just copying the output from printing them.

sage: R = Qp(3,10)['x']
sage: P = R("1+3^-1+O(3^9)+(1+3+3^2)*x")
sage: P
(1 + 3 + 3^2 + O(3^10))*x + (3^-1 + 1 + O(3^9))

The attached patch lets this happen

CC: @roed314

Component: padics

Keywords: padicIMA

Author: Andrew Fiori

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

@sagetrac-afiori sagetrac-afiori mannequin added this to the sage-6.1 milestone Nov 15, 2013
@sagetrac-afiori
Copy link
Mannequin Author

sagetrac-afiori mannequin commented Nov 15, 2013

Add a doctest

@sagetrac-vbraun-spam
Copy link
Mannequin

sagetrac-vbraun-spam mannequin commented Jan 30, 2014

comment:1

Attachment: PadicPolyCasting.patch.gz

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@roed314
Copy link
Contributor

roed314 commented Jul 22, 2018

Changed keywords from none to padicIMA

@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants