Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinywlui/mozes
Sagemath implementation of Mozes' Number Game
https://github.com/kevinywlui/mozes
Last synced: 29 days ago
JSON representation
Sagemath implementation of Mozes' Number Game
- Host: GitHub
- URL: https://github.com/kevinywlui/mozes
- Owner: kevinywlui
- Created: 2015-06-01T05:14:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-02T04:05:46.000Z (over 9 years ago)
- Last Synced: 2023-05-06T16:41:04.391Z (over 1 year ago)
- Language: Python
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sagemath implementation of Mozes' Number Game
## Usage
### Compute Weyl Groups of finite type
````
sage: A = Mozes(CartanType(['B',4'])); A.order()
384
````### Compute number of elements after k iterations on affine type
````
sage: A = Mozes(CartanType(['A',2,1])); A.compute_elements(5)
sage: sum(len(A.elements[i]) for i in range(6))
46
````## References
[Mozes' Paper](http://www.sciencedirect.com/science/article/pii/009731659090024Q)
[Cartan Types in Sage](http://doc.sagemath.org/html/en/reference/combinat/sage/combinat/root_system/cartan_type.html)