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

Commit 84aa1e2

Browse files
committed
register Order-function
1 parent 8f93e71 commit 84aa1e2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/sage/functions/other.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,19 @@ def _evalf_(self, x, **kwds):
670670

671671
floor = Function_floor()
672672

673+
class Function_Order(GinacFunction):
674+
def __init__(self):
675+
r"""
676+
The order function.
677+
678+
This function gives the order of magnitude of some expression,
679+
similar to `O`-terms.
680+
"""
681+
GinacFunction.__init__(self, "Order", latex_name=r"\mathcal{O}")
682+
683+
Function_Order()
684+
685+
673686
class Function_gamma(GinacFunction):
674687
def __init__(self):
675688
r"""

0 commit comments

Comments
 (0)