Cope 2.5.0
My personal "standard library" of all the generally useful code I've written for various projects over the years
Loading...
Searching...
No Matches

◆ categorize()

list Cope.sympy.categorize ( 'Expr'  expr,
'Symbol'  unknown = ... 
)

Catagorize expr as a function of any of: polynomial rational quadratic root power exponential.

Returns a list of strings of the types it is

NOTE: expr must be a sympy expression, and only have one unknown in it. Results for expressions with more than 1 unknown is undefined.

unknown defaults to Symbol('x')

Definition at line 6 of file sympy.py.