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

AsymptoticRing default_prec lost with coercion #22396

Closed
dkrenn opened this issue Feb 20, 2017 · 11 comments
Closed

AsymptoticRing default_prec lost with coercion #22396

dkrenn opened this issue Feb 20, 2017 · 11 comments

Comments

@dkrenn
Copy link
Contributor

dkrenn commented Feb 20, 2017

sage: A.<n> = AsymptoticRing('ZZ^n * n^ZZ', ZZ, default_prec=3)
sage: 1/(1+n)
n^(-1) - n^(-2) + n^(-3) + O(n^(-4))

vs.

sage: 1/(QQ(1)+n)
n^(-1) - n^(-2) + n^(-3) - n^(-4) + n^(-5) - n^(-6) + n^(-7) - n^(-8) + n^(-9) - n^(-10) + n^(-11) - n^(-12) + n^(-13) - n^(-14) + n^(-15) - n^(-16) + n^(-17) - n^(-18) + n^(-19) - n^(-20) + O(n^(-21))

Depends on #22392

CC: @cheuberg @behackl

Component: asymptotic expansions

Author: Daniel Krenn

Branch/Commit: 1690706

Reviewer: Clemens Heuberger

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

@dkrenn
Copy link
Contributor Author

dkrenn commented Feb 20, 2017

Branch: u/dkrenn/asy-function-default-prec

@dkrenn
Copy link
Contributor Author

dkrenn commented Feb 20, 2017

Dependencies: #22392

@dkrenn
Copy link
Contributor Author

dkrenn commented Feb 20, 2017

New commits:

4ddcdc3Trac #22392: new parameter cls
45728ffTrac #22392: pass cls from AsymptoticRing.construction
0982d06Trac #22392: use new parameter cls
f6d4502Trac #22392: adapt repr
2c752fcTrac #22396: keep track of default_prec and category in construction functor
c5db054Trac #22396: pass parameters to functor
e4cac6eTrac #22396: doctest
26aebecTrac #22396: equality-test
0e4c5d4Trac #22396: determine new parameters
9940f17Trac #22396: doctests

@dkrenn
Copy link
Contributor Author

dkrenn commented Feb 20, 2017

Author: Daniel Krenn

@dkrenn
Copy link
Contributor Author

dkrenn commented Feb 20, 2017

Commit: 9940f17

@cheuberg
Copy link
Contributor

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 21, 2017

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

1690706Trac #22396: mention Trac ticket in Tests

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 21, 2017

Changed commit from 9940f17 to 1690706

@cheuberg
Copy link
Contributor

Reviewer: Clemens Heuberger

@cheuberg
Copy link
Contributor

comment:6

LGTM.

@vbraun
Copy link
Member

vbraun commented Feb 26, 2017

Changed branch from u/cheuberg/asy-function-default-prec to 1690706

@vbraun vbraun closed this as completed in 4f79590 Feb 26, 2017
dimpase pushed a commit to tornaria/sage that referenced this issue Feb 7, 2023
…git://trac.sagemath.org/sage into t/22067/gf-polyhedron

* 'public/polynomials/laurent_mpoly_constructor-21976' of git://trac.sagemath.org/sage: (709 commits)
  Some reviewer changes.
  Updated SageMath version to 7.6.beta5
  py3: remove usage of `_richcmp` in complex fields
  a few conversions from _cmp_ to _richcmp_
  Trac sagemath#22404: forgotten change in doctest
  Allow custom CXXFLAGS for pynac
  Mark surf as experimental
  List surf dependencies, do not build by default
  some doc cleanup in ell_rational_field and 2 neighbor files
  Trac sagemath#22398: py3: fix <type 'tuple'>
  trac 21592 some missing accents
  Clean up pynac interface
  py3 compatibility
  Trac sagemath#22404: add blanks after commas (except for tuples representing exponents) in polydict
  Improvements and some cleanup to ETuple.
  Trac sagemath#22396: mention Trac ticket in Tests
  Trac sagemath#22392: Mention Trac Ticket in Tests
  Trac sagemath#22402: PEP8: fix trailing whitespace
  Trac sagemath#22398: simplify id(...) = id(...) in doctest
  Trac sagemath#22398: doctest non-modifying input
  ...
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

3 participants