Open terrorfisch opened 3 years ago
Supported Expressions:
+, -, *, /, //
i.e. addition, subtraction, multiplication, division, floored divisionAdd
etc?<, >, ==, !=, <=, >=
and Eq
, Le
etc@
matrix multiplication operatorsin
, cos
, tan
, cot
, csc
, sec
, asin
, acos
, atan
, acot
, acsc
, asec
, sinh
, cosh
, tanh
, coth
, sech
, csch
, asinh
, acosh
, atanh
, acoth
, asech
, acsch
, gamma
, log
, sqrt
, exp
sign
, floor
, ceiling
, conjugate
atan2
Piecewise
Abs
, Max
, Min
a[i]
i.e. indexing of symbolsCustom functions:
Sum
(not in symengine?)len
, Len
: Already customized for sympyBroadcast
: Already costomized for sympy
https://github.com/symengine/symengine.py
Looks easily adaptable. Some features are missing, but this probably is not a roadblocker. A lot of sympy's features is not used anyways. I propose defining a set of operations that is supported on any system so one can be sure that a pulse works independent of the used backend while still using sophisticated features if porability is no concern.
A problem could be the implementation of vector valued expressions. This is already hacky in sympy. If I see this correctly
there issymengine
only allows matriciessymarray
.Will using symengine actually be faster?
TODO:
sympy_tests.py