Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #19532: Additional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cheuberg committed Jan 22, 2016
1 parent ede5173 commit 267718d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/sage/rings/asymptotic/asymptotic_expansion_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,29 @@ def SingularityAnalysis(var, zeta=1, alpha=0, beta=0, delta=0,
sage: asymptotic_expansions.SingularityAnalysis(
....: 'n', alpha=-2)
0
::
sage: asymptotic_expansions.SingularityAnalysis(
....: 'm', alpha=-1/2, precision=3)
-1/2/sqrt(pi)*m^(-3/2)
- 3/16/sqrt(pi)*m^(-5/2)
- 25/256/sqrt(pi)*m^(-7/2)
+ O(m^(-9/2))
sage: _.parent()
Asymptotic Ring <m^QQ> over Symbolic Constants Subring
Skip constant factor::
sage: asymptotic_expansions.SingularityAnalysis(
....: 'm', alpha=-1/2, precision=3,
....: skip_constant_factor=True)
m^(-3/2)
+ 3/8*m^(-5/2)
+ 25/128*m^(-7/2)
+ O(m^(-9/2))
sage: _.parent()
Asymptotic Ring <m^QQ> over Rational Field
"""
from asymptotic_ring import AsymptoticRing
from sage.functions.other import gamma
Expand Down

0 comments on commit 267718d

Please sign in to comment.