Commit ed06f6c7 authored by Mark Bell's avatar Mark Bell

Fixed typo.

parent 09e8a54e
Pipeline #53902341 failed with stage
in 11 minutes and 28 seconds
......@@ -82,7 +82,7 @@ def test(T, edge, colour):
while twist_key not in depths:
current_lam_mat = to_do.get()
lam, mat = current_lam_mat
for curve, k, t, M in twists.items():
for curve, k, t, M in twists:
next_lam_mat = (t(lam), M.dot(mat))
key = convert(next_lam_mat)
if key not in depths:
......
Metadata-Version: 1.1
Name: veerer
Version: 0.1b0
Summary: A Python module to manipulate Veering triangulations and their associated flat structures
Home-page: https://framagit.org/saulsch/Veerer
Author: Mark Bell, Vincent Delecroix and Saul Schleimer
Author-email: vincent.delecroix@u-bordeaux.fr
License: UNKNOWN
Description: Veerer
======
veerer is a Python module to deal with Veering triangulations and their
associated flat structures.
To install the module you need Python (version 2 or 3).
Computations involving polytopes are only available if the Python module
pplpy is available (see https://gitlab.com/videlec/pplpy).
Additional features are available if this module is used inside SageMath
(http://www.sagemath.org/).
The installation is done via pip.
Example
-------
>>> from veerer import *
>>> T = VeeringTriangulation([(0,1,2), (-1,-2,-3)], [RED, RED, BLUE])
>>> T.is_core()
True
Computing an associated flat structure:
>>> F = T.flat_structure_middle()
And if you are in SageMath you can plot it:
>>> F.plot(vertical_train_track=True)
>>> F.plot(horizontal_train_track=True)
Testing
-------
To run the SageMath doctests, install the module with pip, typically
$ sage -pip install . --user --force-reinstall
and then run
$ sage -t --force-lib veerer/
Or
$ sage -t --force-lib veerer/my_file.py
Building documentation
----------------------
Go to the docs repository and then do
$ sage -sh
$ make html
The documentation should be available under docs/build/ as HTML pages.
Typically you might want to use veerer_demo.rst as a Jupyter notebook. In
order to do the conversion you need to have available on your computer
- rst2latex python-docutils
- pdflatex
- pandoc
- the Python module rst2ipynb
- the Python module nbconvert
Then do
$ export FILE_PREFIX="veerer_demo"
$ rst2ipynb --kernel=sagemath veerer_demo.rst veerer_demo.ipynb
If you did install rst2ipynb using the `--user` option of pip the executables
are possibly installed in $HOME/.local/bin. In which case you should first make
the system aware of this via
$ PATH=$PATH:$HOME/.local/bin
Authors
-------
- Mark Bell
- Vincent Delecroix
- Saul Schleimer
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering :: Mathematics
.gitignore
.gitlab-ci.yml
.hgignore
Fields_veerer_demo.ipynb
README
VERSION
diary.txt
setup.py
size_and_timings.txt
docs/Makefile
docs/source/conf.py
docs/source/index.rst
docs/source/installation.rst
docs/source/veerer_demo.rst
experiments/vertex_cycles.py
graphs/H_2.html
veerer/__init__.py
veerer/automaton.py
veerer/constants.py
veerer/cover.py
veerer/env.py
veerer/layout.py
veerer/measured_train_track.py
veerer/misc.py
veerer/permutation.py
veerer/triangulation.py
veerer/veering_triangulation.py
veerer.egg-info/PKG-INFO
veerer.egg-info/SOURCES.txt
veerer.egg-info/dependency_links.txt
veerer.egg-info/top_level.txt
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment