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

Commit bd403fd

Browse files
committed
22844:internal symbolic limit function
1 parent 2f5a28f commit bd403fd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/sage/functions/other.py

+24
Original file line numberDiff line numberDiff line change
@@ -2607,3 +2607,27 @@ def __init__(self):
26072607
conversions=dict(maxima='sum'))
26082608

26092609
symbolic_sum = Function_sum()
2610+
2611+
2612+
class Function_limit(BuiltinFunction):
2613+
"""
2614+
Placeholder symbolic limit function that is only accessible internally.
2615+
2616+
EXAMPLES::
2617+
2618+
sage: from sage.functions.other import symbolic_limit as slimit
2619+
sage: slimit(1/x, x, +oo)
2620+
limit(1/x, x, +Infinity)
2621+
"""
2622+
def __init__(self):
2623+
"""
2624+
EXAMPLES::
2625+
2626+
sage: from sage.functions.other import symbolic_limit as slimit
2627+
sage: maxima(slimit(1/x, x, +oo))
2628+
0
2629+
"""
2630+
BuiltinFunction.__init__(self, "limit", nargs=3,
2631+
conversions=dict(maxima='limit'))
2632+
2633+
symbolic_limit = Function_limit()

0 commit comments

Comments
 (0)