Where can I find list of all functions able to parse? (sin, cos, tan, abs, log etc)

19 views
Skip to first unread message

Michał Pawłowski

unread,
Jun 19, 2021, 4:06:42 PM6/19/21
to sympy
Hello.

Where can I find list of all functions, which I can use is sympy string, with sympify function?

I mean functions like:
sin, cos, tan, cot, abs, log, pi, etc. ect. (ALL)
like 
sympify("sin(pi/2)", evaluate=True)

Thank you Mike

Aaron Meurer

unread,
Jun 21, 2021, 6:17:12 PM6/21/21
to sympy
The list of functions is based on "from sympy import *", so you can
use sympy.__all__ to see the list of all names. The list will also
include names that are built-in to Python, such as abs(). You can list
those with 'import builtins; dir(builtins)'.

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/a64b5f6f-4042-4f0c-acb5-134d7a9da0c1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages