Skip to content

Commit 801fa55

Browse files
author
SymPy (Travis CI)
committed
Update dev doc after building 15317
1 parent 4551bd7 commit 801fa55

File tree

13 files changed

+38
-42
lines changed

13 files changed

+38
-42
lines changed

dev/_modules/sympy/combinatorics/perm_groups.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2638,11 +2638,7 @@ <h1>Source code for sympy.combinatorics.perm_groups</h1><div class="highlight"><
26382638
<span class="k">continue</span>
26392639
<span class="n">i</span> <span class="o">-=</span> <span class="mi">1</span>
26402640
<span class="c"># build the strong generating set</span>
2641-
<span class="n">strong_gens</span> <span class="o">=</span> <span class="p">[]</span>
2642-
<span class="k">for</span> <span class="n">gens</span> <span class="ow">in</span> <span class="n">strong_gens_distr</span><span class="p">:</span>
2643-
<span class="k">for</span> <span class="n">gen</span> <span class="ow">in</span> <span class="n">gens</span><span class="p">:</span>
2644-
<span class="k">if</span> <span class="n">gen</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">strong_gens</span><span class="p">:</span>
2645-
<span class="n">strong_gens</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">gen</span><span class="p">)</span>
2641+
<span class="n">strong_gens</span> <span class="o">=</span> <span class="nb">list</span><span class="p">(</span><span class="n">uniq</span><span class="p">(</span><span class="n">i</span> <span class="k">for</span> <span class="n">gens</span> <span class="ow">in</span> <span class="n">strong_gens_distr</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="n">gens</span><span class="p">))</span>
26462642
<span class="k">return</span> <span class="n">_base</span><span class="p">,</span> <span class="n">strong_gens</span>
26472643
</div>
26482644
<div class="viewcode-block" id="PermutationGroup.schreier_sims_random"><a class="viewcode-back" href="../../../modules/combinatorics/perm_groups.html#sympy.combinatorics.perm_groups.PermutationGroup.schreier_sims_random">[docs]</a> <span class="k">def</span> <span class="nf">schreier_sims_random</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">base</span><span class="o">=</span><span class="bp">None</span><span class="p">,</span> <span class="n">gens</span><span class="o">=</span><span class="bp">None</span><span class="p">,</span> <span class="n">consec_succ</span><span class="o">=</span><span class="mi">10</span><span class="p">,</span>

dev/_modules/sympy/ntheory/residue_ntheory.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ <h1>Source code for sympy.ntheory.residue_ntheory</h1><div class="highlight"><pr
641641
<span class="sd"> prime, an iterative method is used to make the determination:</span>
642642

643643
<span class="sd"> &gt;&gt;&gt; from sympy.ntheory import is_quad_residue</span>
644-
<span class="sd"> &gt;&gt;&gt; list(set([i**2 % 7 for i in range(7)]))</span>
644+
<span class="sd"> &gt;&gt;&gt; sorted(set([i**2 % 7 for i in range(7)]))</span>
645645
<span class="sd"> [0, 1, 2, 4]</span>
646646
<span class="sd"> &gt;&gt;&gt; [j for j in range(7) if is_quad_residue(j, 7)]</span>
647647
<span class="sd"> [0, 1, 2, 4]</span>
@@ -847,7 +847,7 @@ <h1>Source code for sympy.ntheory.residue_ntheory</h1><div class="highlight"><pr
847847
<span class="sd"> &gt;&gt;&gt; from sympy.ntheory import legendre_symbol</span>
848848
<span class="sd"> &gt;&gt;&gt; [legendre_symbol(i, 7) for i in range(7)]</span>
849849
<span class="sd"> [0, 1, 1, -1, 1, -1, -1]</span>
850-
<span class="sd"> &gt;&gt;&gt; list(set([i**2 % 7 for i in range(7)]))</span>
850+
<span class="sd"> &gt;&gt;&gt; sorted(set([i**2 % 7 for i in range(7)]))</span>
851851
<span class="sd"> [0, 1, 2, 4]</span>
852852

853853
<span class="sd"> See Also</span>

dev/_modules/sympy/utilities/iterables.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ <h1>Source code for sympy.utilities.iterables</h1><div class="highlight"><pre>
13951395
<span class="sd"> The numbers appearing in the partition (the key of the returned dict)</span>
13961396
<span class="sd"> are limited with k:</span>
13971397

1398-
<span class="sd"> &gt;&gt;&gt; for p in partitions(6, k=2):</span>
1398+
<span class="sd"> &gt;&gt;&gt; for p in partitions(6, k=2): # doctest: +SKIP</span>
13991399
<span class="sd"> ... print(p)</span>
14001400
<span class="sd"> {2: 3}</span>
14011401
<span class="sd"> {1: 2, 2: 2}</span>
@@ -1405,7 +1405,7 @@ <h1>Source code for sympy.utilities.iterables</h1><div class="highlight"><pre>
14051405
<span class="sd"> The maximum number of parts in the partion (the sum of the values in</span>
14061406
<span class="sd"> the returned dict) are limited with m:</span>
14071407

1408-
<span class="sd"> &gt;&gt;&gt; for p in partitions(6, m=2):</span>
1408+
<span class="sd"> &gt;&gt;&gt; for p in partitions(6, m=2): # doctest: +SKIP</span>
14091409
<span class="sd"> ... print(p)</span>
14101410
<span class="sd"> ...</span>
14111411
<span class="sd"> {6: 1}</span>
@@ -1423,9 +1423,9 @@ <h1>Source code for sympy.utilities.iterables</h1><div class="highlight"><pre>
14231423
<span class="sd"> If you want to build a list of the returned dictionaries then</span>
14241424
<span class="sd"> make a copy of them:</span>
14251425

1426-
<span class="sd"> &gt;&gt;&gt; [p.copy() for p in partitions(6, k=2)]</span>
1426+
<span class="sd"> &gt;&gt;&gt; [p.copy() for p in partitions(6, k=2)] # doctest: +SKIP</span>
14271427
<span class="sd"> [{2: 3}, {1: 2, 2: 2}, {1: 4, 2: 1}, {1: 6}]</span>
1428-
<span class="sd"> &gt;&gt;&gt; [(M, p.copy()) for M, p in partitions(6, k=2, size=True)]</span>
1428+
<span class="sd"> &gt;&gt;&gt; [(M, p.copy()) for M, p in partitions(6, k=2, size=True)] # doctest: +SKIP</span>
14291429
<span class="sd"> [(3, {2: 3}), (4, {1: 2, 2: 2}), (5, {1: 4, 2: 1}), (6, {1: 6})]</span>
14301430

14311431
<span class="sd"> Reference:</span>

dev/modules/core.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6936,7 +6936,7 @@ <h3>Dict<a class="headerlink" href="#dict" title="Permalink to this headline">¶
69366936
<h3>iterable<a class="headerlink" href="#iterable" title="Permalink to this headline">¶</a></h3>
69376937
<dl class="function">
69386938
<dt id="sympy.core.compatibility.iterable">
6939-
<tt class="descclassname">sympy.core.compatibility.</tt><tt class="descname">iterable</tt><big>(</big><em>i</em>, <em>exclude=((&lt;type 'str'&gt;</em>, <em>&lt;type 'unicode'&gt;)</em>, <em>&lt;type 'dict'&gt;</em>, <em>&lt;class sympy.core.compatibility.NotIterable at 0x263acb0&gt;)</em><big>)</big><a class="reference internal" href="../_modules/sympy/core/compatibility.html#iterable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sympy.core.compatibility.iterable" title="Permalink to this definition">¶</a></dt>
6939+
<tt class="descclassname">sympy.core.compatibility.</tt><tt class="descname">iterable</tt><big>(</big><em>i</em>, <em>exclude=((&lt;type 'str'&gt;</em>, <em>&lt;type 'unicode'&gt;)</em>, <em>&lt;type 'dict'&gt;</em>, <em>&lt;class sympy.core.compatibility.NotIterable at 0x2b8fcb0&gt;)</em><big>)</big><a class="reference internal" href="../_modules/sympy/core/compatibility.html#iterable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sympy.core.compatibility.iterable" title="Permalink to this definition">¶</a></dt>
69406940
<dd><p>Return a boolean indicating whether <tt class="docutils literal"><span class="pre">i</span></tt> is SymPy iterable.
69416941
True also indicates that the iterator is finite, i.e. you e.g.
69426942
call list(...) on the instance.</p>

dev/modules/matrices/dense.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ <h2>Matrix Class Reference<a class="headerlink" href="#matrix-class-reference" t
305305

306306
<dl class="method">
307307
<dt id="sympy.matrices.dense.MutableDenseMatrix.simplify">
308-
<tt class="descname">simplify</tt><big>(</big><em>ratio=1.7</em>, <em>measure=&lt;function count_ops at 0x2d08d70&gt;</em><big>)</big><a class="reference internal" href="../../_modules/sympy/matrices/dense.html#MutableDenseMatrix.simplify"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sympy.matrices.dense.MutableDenseMatrix.simplify" title="Permalink to this definition"></a></dt>
308+
<tt class="descname">simplify</tt><big>(</big><em>ratio=1.7</em>, <em>measure=&lt;function count_ops at 0x325dd70&gt;</em><big>)</big><a class="reference internal" href="../../_modules/sympy/matrices/dense.html#MutableDenseMatrix.simplify"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#sympy.matrices.dense.MutableDenseMatrix.simplify" title="Permalink to this definition"></a></dt>
309309
<dd><p>Applies simplify to the elements of a matrix in place.</p>
310310
<p>This is a shortcut for M.applyfunc(lambda x: simplify(x, ratio, measure))</p>
311311
<div class="admonition-see-also admonition seealso">

0 commit comments

Comments
 (0)