revised list

pull/4/head
Kai Staats 2016-07-17 01:17:49 -06:00
parent f14db20c3f
commit 52b31685be
1 changed files with 15 additions and 29 deletions

View File

@ -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