Skip to content

Commit

Permalink
Deploying to gh-pages from @ 8a0860b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Nov 9, 2023
1 parent 006bd34 commit 7f1cd5e
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 17 deletions.
Binary file modified docs/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/.doctrees/ferenczi_zamboni.doctree
Binary file not shown.
Binary file modified docs/.doctrees/veerer_demo.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_sources/ferenczi_zamboni.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Torus case or `\mathcal{Q}(-1^4)`

There are only two possible moves::

sage: from veerer import VeeringTriangulation, VeeringFlipSequence
sage: from veerer import VeeringTriangulation, VeeringFlipSequence # random output due to deprecation warnings from realalg
sage: V = VeeringTriangulation("(0,1,2)", "PBR")
sage: R = VeeringFlipSequence(V, "0R", [2,1,0])
sage: L = VeeringFlipSequence(V, "0B", [1,0,2])
Expand Down
16 changes: 9 additions & 7 deletions docs/_sources/veerer_demo.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ part of a project that also involve
To import all features from veerer one usually starts with the following
lines::

sage: from veerer import *
sage: from veerer import * # random output due to deprecation warnings from realalg
sage: from surface_dynamics import * # optional - surface_dynamics

To input a triangulation in the program one needs to specify a list of
Expand Down Expand Up @@ -148,13 +148,15 @@ train-tracks.

::

sage: VeeringTriangulation.from_stratum(Qreg) # optional - surface_dynamics
VeeringTriangulation("(0,19,~18)(1,20,~19)(2,21,~20)(3,22,~21)(4,23,~22)(5,25,~24)(6,27,~26)(7,28,~27)(8,29,~28)(9,~16,17)(10,~5,~29)(11,~6,~10)(12,~1,~11)(13,~9,~12)(14,~7,~13)(15,~2,~14)(16,~0,~15)(18,~8,~17)(24,~23,~3)(26,~25,~4)", "RRRRRRRRRRBBBBBBBBBBBBBBBBBBBB")
sage: vt = VeeringTriangulation.from_stratum(Qreg) # optional - surface_dynamics
sage: vt.stratum() # optional - surface_dynamics
Q_4(3^4)

::

sage: VeeringTriangulation.from_stratum(Qirr) # optional - surface_dynamics
VeeringTriangulation("(0,21,~20)(1,22,~21)(2,23,~22)(3,24,~23)(4,25,~24)(5,26,~25)(6,28,~27)(7,29,~28)(8,~16,17)(9,~14,15)(10,~2,~29)(11,~1,~10)(12,~6,~11)(13,~9,~12)(14,~8,~13)(16,~4,~15)(18,~5,~17)(19,~3,~18)(20,~7,~19)(27,~26,~0)", "RRRRRRRRRRBBBBBBBBBBBBBBBBBBBB")
sage: vt = VeeringTriangulation.from_stratum(Qirr) # optional - surface_dynamics
sage: vt.stratum() # optional - surface_dynamics
Q_4(3^4)

::

Expand Down Expand Up @@ -346,9 +348,9 @@ filtering cylindrical (single test is cheap) ~2 sec for H(4)^hyp
sage: AV = CoreAutomaton(V) # long time - ~21 secs # optional - surface_dynamics
sage: print(AV.num_states()) # long time - ~150 µs # optional - surface_dynamics
9116
sage: print(AV.num_geometric_triangulations()) # long time - ~21 secs # optional - surface_dynamics
sage: sum(v.is_geometric() for v in AV) # long time - ~21 secs # optional - surface_dynamics
2916
sage: print(AV.num_cylindrical_triangulations()) # long time - ~1.5 secs # optional - surface_dynamics
sage: sum(v.is_cylindrical() for v in AV) # long time - ~1.5 secs # optional - surface_dynamics
636

License
Expand Down
2 changes: 1 addition & 1 deletion docs/ferenczi_zamboni.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h1>Ferenczi-Zamboni induction<a class="headerlink" href="#ferenczi-zamboni-indu
<section id="torus-case-or-mathcal-q-1-4">
<h2>Torus case or <cite>mathcal{Q}(-1^4)</cite><a class="headerlink" href="#torus-case-or-mathcal-q-1-4" title="Permalink to this heading">¶</a></h2>
<p>There are only two possible moves:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sage</span><span class="p">:</span> <span class="kn">from</span> <span class="nn">veerer</span> <span class="kn">import</span> <span class="n">VeeringTriangulation</span><span class="p">,</span> <span class="n">VeeringFlipSequence</span>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sage</span><span class="p">:</span> <span class="kn">from</span> <span class="nn">veerer</span> <span class="kn">import</span> <span class="n">VeeringTriangulation</span><span class="p">,</span> <span class="n">VeeringFlipSequence</span> <span class="c1"># random output due to deprecation warnings from realalg</span>
<span class="n">sage</span><span class="p">:</span> <span class="n">V</span> <span class="o">=</span> <span class="n">VeeringTriangulation</span><span class="p">(</span><span class="s2">&quot;(0,1,2)&quot;</span><span class="p">,</span> <span class="s2">&quot;PBR&quot;</span><span class="p">)</span>
<span class="n">sage</span><span class="p">:</span> <span class="n">R</span> <span class="o">=</span> <span class="n">VeeringFlipSequence</span><span class="p">(</span><span class="n">V</span><span class="p">,</span> <span class="s2">&quot;0R&quot;</span><span class="p">,</span> <span class="p">[</span><span class="mi">2</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="mi">0</span><span class="p">])</span>
<span class="n">sage</span><span class="p">:</span> <span class="n">L</span> <span class="o">=</span> <span class="n">VeeringFlipSequence</span><span class="p">(</span><span class="n">V</span><span class="p">,</span> <span class="s2">&quot;0B&quot;</span><span class="p">,</span> <span class="p">[</span><span class="mi">1</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="mi">2</span><span class="p">])</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

16 changes: 9 additions & 7 deletions docs/veerer_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h1>Veering triangulation demo<a class="headerlink" href="#veering-triangulation
</ul>
<p>To import all features from veerer one usually starts with the following
lines:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sage</span><span class="p">:</span> <span class="kn">from</span> <span class="nn">veerer</span> <span class="kn">import</span> <span class="o">*</span>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sage</span><span class="p">:</span> <span class="kn">from</span> <span class="nn">veerer</span> <span class="kn">import</span> <span class="o">*</span> <span class="c1"># random output due to deprecation warnings from realalg</span>
<span class="n">sage</span><span class="p">:</span> <span class="kn">from</span> <span class="nn">surface_dynamics</span> <span class="kn">import</span> <span class="o">*</span> <span class="c1"># optional - surface_dynamics</span>
</pre></div>
</div>
Expand Down Expand Up @@ -173,12 +173,14 @@ <h2>Viewing train-tracks!<a class="headerlink" href="#viewing-train-tracks" titl
<span class="n">sage</span><span class="p">:</span> <span class="n">Qirr</span> <span class="o">=</span> <span class="n">Q</span><span class="o">.</span><span class="n">irregular_component</span><span class="p">()</span> <span class="c1"># optional - surface_dynamics</span>
</pre></div>
</div>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sage</span><span class="p">:</span> <span class="n">VeeringTriangulation</span><span class="o">.</span><span class="n">from_stratum</span><span class="p">(</span><span class="n">Qreg</span><span class="p">)</span> <span class="c1"># optional - surface_dynamics</span>
<span class="n">VeeringTriangulation</span><span class="p">(</span><span class="s2">&quot;(0,19,~18)(1,20,~19)(2,21,~20)(3,22,~21)(4,23,~22)(5,25,~24)(6,27,~26)(7,28,~27)(8,29,~28)(9,~16,17)(10,~5,~29)(11,~6,~10)(12,~1,~11)(13,~9,~12)(14,~7,~13)(15,~2,~14)(16,~0,~15)(18,~8,~17)(24,~23,~3)(26,~25,~4)&quot;</span><span class="p">,</span> <span class="s2">&quot;RRRRRRRRRRBBBBBBBBBBBBBBBBBBBB&quot;</span><span class="p">)</span>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sage</span><span class="p">:</span> <span class="n">vt</span> <span class="o">=</span> <span class="n">VeeringTriangulation</span><span class="o">.</span><span class="n">from_stratum</span><span class="p">(</span><span class="n">Qreg</span><span class="p">)</span> <span class="c1"># optional - surface_dynamics</span>
<span class="n">sage</span><span class="p">:</span> <span class="n">vt</span><span class="o">.</span><span class="n">stratum</span><span class="p">()</span> <span class="c1"># optional - surface_dynamics</span>
<span class="n">Q_4</span><span class="p">(</span><span class="mi">3</span><span class="o">^</span><span class="mi">4</span><span class="p">)</span>
</pre></div>
</div>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sage</span><span class="p">:</span> <span class="n">VeeringTriangulation</span><span class="o">.</span><span class="n">from_stratum</span><span class="p">(</span><span class="n">Qirr</span><span class="p">)</span> <span class="c1"># optional - surface_dynamics</span>
<span class="n">VeeringTriangulation</span><span class="p">(</span><span class="s2">&quot;(0,21,~20)(1,22,~21)(2,23,~22)(3,24,~23)(4,25,~24)(5,26,~25)(6,28,~27)(7,29,~28)(8,~16,17)(9,~14,15)(10,~2,~29)(11,~1,~10)(12,~6,~11)(13,~9,~12)(14,~8,~13)(16,~4,~15)(18,~5,~17)(19,~3,~18)(20,~7,~19)(27,~26,~0)&quot;</span><span class="p">,</span> <span class="s2">&quot;RRRRRRRRRRBBBBBBBBBBBBBBBBBBBB&quot;</span><span class="p">)</span>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sage</span><span class="p">:</span> <span class="n">vt</span> <span class="o">=</span> <span class="n">VeeringTriangulation</span><span class="o">.</span><span class="n">from_stratum</span><span class="p">(</span><span class="n">Qirr</span><span class="p">)</span> <span class="c1"># optional - surface_dynamics</span>
<span class="n">sage</span><span class="p">:</span> <span class="n">vt</span><span class="o">.</span><span class="n">stratum</span><span class="p">()</span> <span class="c1"># optional - surface_dynamics</span>
<span class="n">Q_4</span><span class="p">(</span><span class="mi">3</span><span class="o">^</span><span class="mi">4</span><span class="p">)</span>
</pre></div>
</div>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sage</span><span class="p">:</span> <span class="c1"># constructing a veering triangulation from a pseudo-Anosov homeomorphism</span>
Expand Down Expand Up @@ -386,9 +388,9 @@ <h2>Some data (orientable case)<a class="headerlink" href="#some-data-orientable
<span class="n">sage</span><span class="p">:</span> <span class="n">AV</span> <span class="o">=</span> <span class="n">CoreAutomaton</span><span class="p">(</span><span class="n">V</span><span class="p">)</span> <span class="c1"># long time - ~21 secs # optional - surface_dynamics</span>
<span class="n">sage</span><span class="p">:</span> <span class="nb">print</span><span class="p">(</span><span class="n">AV</span><span class="o">.</span><span class="n">num_states</span><span class="p">())</span> <span class="c1"># long time - ~150 µs # optional - surface_dynamics</span>
<span class="mi">9116</span>
<span class="n">sage</span><span class="p">:</span> <span class="nb">print</span><span class="p">(</span><span class="n">AV</span><span class="o">.</span><span class="n">num_geometric_triangulations</span><span class="p">())</span> <span class="c1"># long time - ~21 secs # optional - surface_dynamics</span>
<span class="n">sage</span><span class="p">:</span> <span class="nb">sum</span><span class="p">(</span><span class="n">v</span><span class="o">.</span><span class="n">is_geometric</span><span class="p">()</span> <span class="k">for</span> <span class="n">v</span> <span class="ow">in</span> <span class="n">AV</span><span class="p">)</span> <span class="c1"># long time - ~21 secs # optional - surface_dynamics</span>
<span class="mi">2916</span>
<span class="n">sage</span><span class="p">:</span> <span class="nb">print</span><span class="p">(</span><span class="n">AV</span><span class="o">.</span><span class="n">num_cylindrical_triangulations</span><span class="p">())</span> <span class="c1"># long time - ~1.5 secs # optional - surface_dynamics</span>
<span class="n">sage</span><span class="p">:</span> <span class="nb">sum</span><span class="p">(</span><span class="n">v</span><span class="o">.</span><span class="n">is_cylindrical</span><span class="p">()</span> <span class="k">for</span> <span class="n">v</span> <span class="ow">in</span> <span class="n">AV</span><span class="p">)</span> <span class="c1"># long time - ~1.5 secs # optional - surface_dynamics</span>
<span class="mi">636</span>
</pre></div>
</div>
Expand Down

0 comments on commit 7f1cd5e

Please sign in to comment.