Skip to content

Commit 517c79a

Browse files
committed
Added nextprime, mod_inverse and primitive_root functions
1 parent 3d00ec6 commit 517c79a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

symengine/sympy_compat.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
from .compatibility import with_metaclass
44
from .lib.symengine_wrapper import (sympify, sympify as S,
55
SympifyError, sqrt, I, E, pi, Matrix, Derivative, exp,
6-
Lambdify as lambdify, symarray, diff, eye, diag, ones, zeros,
7-
expand, Subs, FunctionSymbol as AppliedUndef)
6+
factorial, gcd, lcm, factor, nextprime, mod_inverse,
7+
totient, primitive_root, Lambdify as lambdify, symarray,
8+
diff, eye, diag, ones, zeros, expand, Subs,
9+
FunctionSymbol as AppliedUndef)
810
from types import ModuleType
911
import sys
1012

0 commit comments

Comments
 (0)