|
b63405592f
|
doctests
|
2018-09-20 18:27:40 +02:00 |
|
|
a343d62078
|
Add example of trees for testing
|
2018-09-20 18:26:57 +02:00 |
|
|
ec25cfab53
|
Add doctest
|
2018-09-17 16:27:20 +02:00 |
|
|
b1241e0844
|
documentate what we can do with core
|
2018-09-17 16:27:08 +02:00 |
|
|
f8e00a8638
|
Create MOstrPower and start adding it into multiply
|
2018-03-18 10:34:46 +03:00 |
|
|
3b59e0ffb0
|
Generic function for MO: __eq__ and __hash__
|
2018-03-18 10:34:15 +03:00 |
|
|
3f3e52cdf8
|
Decorator for computing special cases
|
2018-03-17 11:55:32 +03:00 |
|
|
f4422c6d1a
|
Use multipledispatch to define divide (plus dostring for add)
|
2018-03-17 10:38:59 +03:00 |
|
|
c08ea7b86a
|
Use multipledispatch for multiply
|
2018-03-17 10:28:43 +03:00 |
|
|
f2fb80c55b
|
Build minus with multipledispatcher
|
2018-03-17 10:15:46 +03:00 |
|
|
9610ee1c7e
|
Use multipledispatcher to define add for MO
|
2018-03-17 10:04:53 +03:00 |
|
|
0cef131c41
|
Render momonial and multiply with scalar
|
2018-03-17 08:45:23 +03:00 |
|
|
b0ff919693
|
synthtize comparison for MOnumber
|
2018-03-15 16:38:25 +03:00 |
|
|
985032b1af
|
type filter for operations
|
2018-03-15 16:37:48 +03:00 |
|
|
6e2cc96781
|
Start MOMonomial class
|
2018-03-14 11:42:43 +03:00 |
|
|
3aa7c92f54
|
Add doctest in MO.factory and an error message
|
2018-03-14 11:42:10 +03:00 |
|
|
6763ae6074
|
Modify the way ^ is rendering
|
2018-03-14 11:40:57 +03:00 |
|
|
eff438b930
|
Move MOError to exceptions.py
|
2018-03-14 11:04:13 +03:00 |
|
|
d1c6e2d3da
|
Overload operators for MOnumbers in order to use gcd
|
2018-03-13 18:57:38 +03:00 |
|
|
3c133250ec
|
Multiply and divide are ok for MOnumber and MOFraction
|
2018-03-13 17:12:41 +03:00 |
|
|
e4efa1028e
|
Some PEP8 rectifications
|
2018-03-13 14:43:48 +03:00 |
|
|
e9046c49ff
|
Rewrite compute and remove reference to computing in OPERATORS
|
2018-03-13 05:46:14 +03:00 |
|
|
832946ed49
|
Remove reference to compute in Tree
|
2018-03-12 20:01:52 +03:00 |
|
|
25f791bd81
|
Minus MO
|
2018-03-12 19:27:01 +03:00 |
|
|
98381f4512
|
Add 2 fractions works!
|
2018-03-12 07:34:26 +03:00 |
|
|
5f5fcc5a79
|
Multiply with MOnumber and MOFraction
|
2018-03-11 20:05:17 +03:00 |
|
|
9baf6c5dbd
|
Remove bug with MOnumber = 0
|
2018-03-11 20:04:47 +03:00 |
|
|
b10492533e
|
Throw bases for computing (and start tiding exceptions)
|
2018-03-11 18:34:41 +03:00 |
|
|
b2239e0e56
|
str2tex done and integrate into MO
|
2018-03-10 16:08:28 +03:00 |
|
|
d14850c78d
|
Rearrange folders and use tree2txt inside MO
|
2018-03-10 08:44:01 +03:00 |
|
|
d498af2bab
|
tree2txt is done and doctested
|
2018-03-10 08:03:55 +03:00 |
|
|
a51386fded
|
Throw bases for tree2txt
|
2018-03-09 19:33:02 +03:00 |
|
|
a8a62864a6
|
Integrate MO inside str2 and in Tree (doctest are ok)
|
2018-03-09 19:31:46 +03:00 |
|
|
1ab74eb133
|
Start writing MOs
|
2018-03-08 17:01:47 +03:00 |
|
|
313e3a4efc
|
- is now a unary operator
|
2018-03-07 16:26:06 +03:00 |
|
|
6aec4be490
|
spell and empty line
|
2018-02-02 18:37:24 +03:00 |
|
|
5123dc0f8a
|
add a doctest for Tree
|
2018-02-02 18:33:08 +03:00 |
|
|
451dce91e5
|
Accept missing * for str parsing
|
2018-02-02 18:32:16 +03:00 |
|
|
91bd108b53
|
is_operator function
|
2018-02-02 18:02:42 +03:00 |
|
|
a0fa09a381
|
Balancing a AssocialTree
|
2018-01-31 17:18:52 +03:00 |
|
|
935a0d0d23
|
Create AssocialTree and method to init tree from a node and a list of
leafs
|
2018-01-30 05:34:18 +03:00 |
|
|
8b201fa8d0
|
Throw basis of LeafTree
|
2018-01-29 07:51:54 +03:00 |
|
|
72864f12cd
|
Add depth for tree
|
2018-01-28 19:13:55 +03:00 |
|
|
a916035260
|
Number are now int or Decimal when an expression is parsed
|
2018-01-28 18:54:30 +03:00 |
|
|
251ec6c83b
|
Change from_str method name for muttable tree
|
2018-01-28 18:31:21 +03:00 |
|
|
876a1fc63c
|
get leafs or operator methodes for tree
|
2018-01-28 18:13:37 +03:00 |
|
|
1176b6f608
|
Basic evaluation for trees
|
2018-01-21 18:16:08 +03:00 |
|
|
7d00d3342a
|
allowing empty left leaf for operator of 1 arity
|
2018-01-21 17:05:54 +03:00 |
|
|
273675b243
|
Doc string and method name
|
2018-01-21 12:14:16 +03:00 |
|
|
0f3e0870fe
|
apply_on_last_branches is ok
|
2018-01-21 12:10:45 +03:00 |
|
|
e64613f5be
|
map_leaf method for tree
|
2018-01-21 11:52:22 +03:00 |
|
|
813c1f096e
|
Remove old files and fix class name in doctest
|
2018-01-21 11:32:17 +03:00 |
|
|
a751e346d3
|
Import work from other repo
|
2018-01-21 11:26:34 +03:00 |
|