diff --git a/files/templates/operators_list.txt b/files/templates/operators_list.txt index 0f1d963..b313e81 100644 --- a/files/templates/operators_list.txt +++ b/files/templates/operators_list.txt @@ -1,38 +1,13 @@ -NATIVE PYTHON OPERATORS -www.tutorialspoint.com/python/python_basic_operators.htm - -** Exponentiation (raise to the power) -~ + - Complement, unary plus and minus (method names for the last two are +@ and -@) -* / % // Multiply, divide, modulo and floor division -+ - Addition and subtraction - ->> << Right and left bitwise shift - -& Bitwise 'AND'td> -^ | Bitwise exclusive `OR' and regular `OR' - -<= < > >= Comparison operators -<> == != Equality operators - -is is not Identity operators -in not in Membership operators -not or and Logical operators - -= %= /= //= -= += *= **= Assignment operators - - -GP OPERATOR GROUPS -(copy / paste into functions.cvs, giving weight through quantity of copies) +OPERATORS TESTED with Karoo GP +,2 -,2 *,2 /,2 -**,2 (not recommended) +**,2 -and,2 or &,2 ??? -or,2 or |,2 ??? -not,1 or !,2 ??? # need to get 'not' to not fall at the end +and,2 +or,2 + sin,2 - sin,2 @@ -53,3 +28,14 @@ not,1 or !,2 ??? # need to get 'not' to not fall at the end + sqrt,2 - sqrt,2 / sqrt,2 + ++ log,2 +- log,2 +* log,2 +/ log,2 + + +Where sin, cos, exp, and log must be preceded by another operator. + +For documentation on the core Sympy operators, visit: +http://docs.sympy.org/latest/modules/core.html