Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
1 | · | 1 | ·ff6c995f5632a2fa5d6d6807e6cb53f1·4276892·doc·optional·python-numpy-doc_2.1.3+ds-1_all.deb |
2 | ·ebc26ecba102a062dbbc319273d68d40·61104736·debug·optional·python3-numpy-dbgsym_2.1.3+ds-1_amd64.deb | 2 | ·ebc26ecba102a062dbbc319273d68d40·61104736·debug·optional·python3-numpy-dbgsym_2.1.3+ds-1_amd64.deb |
3 | ·83d66b12f7884312bf306998be0b0336·137300·python·optional·python3-numpy-dev_2.1.3+ds-1_amd64.deb | 3 | ·83d66b12f7884312bf306998be0b0336·137300·python·optional·python3-numpy-dev_2.1.3+ds-1_amd64.deb |
4 | ·0b973aff179384a5fc52e067c9e07927·7460052·python·optional·python3-numpy_2.1.3+ds-1_amd64.deb | 4 | ·0b973aff179384a5fc52e067c9e07927·7460052·python·optional·python3-numpy_2.1.3+ds-1_amd64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-11-22·23:37:09.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-11-22·23:37:09.000000·debian-binary |
2 | -rw-r--r--···0········0········0····64188·2024-11-22·23:37:09.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0····64188·2024-11-22·23:37:09.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··4212 | 3 | -rw-r--r--···0········0········0··4212512·2024-11-22·23:37:09.000000·data.tar.xz |
Offset 2551, 15 lines modified | Offset 2551, 15 lines modified | ||
2551 | -rw-r--r--···0·root·········(0)·root·········(0)····41337·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/generated/numpy.random.wald.html | 2551 | -rw-r--r--···0·root·········(0)·root·········(0)····41337·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/generated/numpy.random.wald.html |
2552 | -rw-r--r--···0·root·········(0)·root·········(0)····46002·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/generated/numpy.random.weibull.html | 2552 | -rw-r--r--···0·root·········(0)·root·········(0)····46002·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/generated/numpy.random.weibull.html |
2553 | -rw-r--r--···0·root·········(0)·root·········(0)····44113·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/generated/numpy.random.zipf.html | 2553 | -rw-r--r--···0·root·········(0)·root·········(0)····44113·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/generated/numpy.random.zipf.html |
2554 | -rw-r--r--···0·root·········(0)·root·········(0)····80660·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/generator.html | 2554 | -rw-r--r--···0·root·········(0)·root·········(0)····80660·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/generator.html |
2555 | -rw-r--r--···0·root·········(0)·root·········(0)····44882·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/index.html | 2555 | -rw-r--r--···0·root·········(0)·root·········(0)····44882·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/index.html |
2556 | -rw-r--r--···0·root·········(0)·root·········(0)····87879·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/legacy.html | 2556 | -rw-r--r--···0·root·········(0)·root·········(0)····87879·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/legacy.html |
2557 | -rw-r--r--···0·root·········(0)·root·········(0)····34441·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/multithreading.html | 2557 | -rw-r--r--···0·root·········(0)·root·········(0)····34441·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/multithreading.html |
2558 | -rw-r--r--···0·root·········(0)·root·········(0)····43 | 2558 | -rw-r--r--···0·root·········(0)·root·········(0)····43252·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/new-or-different.html |
2559 | -rw-r--r--···0·root·········(0)·root·········(0)····51517·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/parallel.html | 2559 | -rw-r--r--···0·root·········(0)·root·········(0)····51517·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/parallel.html |
2560 | -rw-r--r--···0·root·········(0)·root·········(0)····36886·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/performance.html | 2560 | -rw-r--r--···0·root·········(0)·root·········(0)····36886·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/performance.html |
2561 | -rw-r--r--···0·root·········(0)·root·········(0)····40533·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/upgrading-pcg64.html | 2561 | -rw-r--r--···0·root·········(0)·root·········(0)····40533·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/random/upgrading-pcg64.html |
2562 | -rw-r--r--···0·root·········(0)·root·········(0)····44848·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/routines.array-creation.html | 2562 | -rw-r--r--···0·root·········(0)·root·········(0)····44848·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/routines.array-creation.html |
2563 | -rw-r--r--···0·root·········(0)·root·········(0)····50276·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/routines.array-manipulation.html | 2563 | -rw-r--r--···0·root·········(0)·root·········(0)····50276·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/routines.array-manipulation.html |
2564 | -rw-r--r--···0·root·········(0)·root·········(0)····26416·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/routines.bitwise.html | 2564 | -rw-r--r--···0·root·········(0)·root·········(0)····26416·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/routines.bitwise.html |
2565 | -rw-r--r--···0·root·········(0)·root·········(0)····53301·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/routines.char.html | 2565 | -rw-r--r--···0·root·········(0)·root·········(0)····53301·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/reference/routines.char.html |
Offset 2723, 15 lines modified | Offset 2723, 15 lines modified | ||
2723 | -rw-r--r--···0·root·········(0)·root·········(0)····61015·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release/2.1.0-notes.html | 2723 | -rw-r--r--···0·root·········(0)·root·········(0)····61015·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release/2.1.0-notes.html |
2724 | -rw-r--r--···0·root·········(0)·root·········(0)····28984·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release/2.1.1-notes.html | 2724 | -rw-r--r--···0·root·········(0)·root·········(0)····28984·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release/2.1.1-notes.html |
2725 | -rw-r--r--···0·root·········(0)·root·········(0)····29676·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release/2.1.2-notes.html | 2725 | -rw-r--r--···0·root·········(0)·root·········(0)····29676·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release/2.1.2-notes.html |
2726 | -rw-r--r--···0·root·········(0)·root·········(0)····32180·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release/2.1.3-notes.html | 2726 | -rw-r--r--···0·root·········(0)·root·········(0)····32180·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release/2.1.3-notes.html |
2727 | -rw-r--r--···0·root·········(0)·root·········(0)····12270·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release/template.html | 2727 | -rw-r--r--···0·root·········(0)·root·········(0)····12270·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release/template.html |
2728 | -rw-r--r--···0·root·········(0)·root·········(0)····86999·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release.html | 2728 | -rw-r--r--···0·root·········(0)·root·········(0)····86999·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/release.html |
2729 | -rw-r--r--···0·root·········(0)·root·········(0)····11448·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/search.html | 2729 | -rw-r--r--···0·root·········(0)·root·········(0)····11448·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/search.html |
2730 | -rw-r--r--···0·root·········(0)·root·········(0)··2682 | 2730 | -rw-r--r--···0·root·········(0)·root·········(0)··2682781·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/searchindex.js |
2731 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/ | 2731 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/ |
2732 | -rw-r--r--···0·root·········(0)·root·········(0)···176281·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/absolute_beginners.html | 2732 | -rw-r--r--···0·root·········(0)·root·········(0)···176281·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/absolute_beginners.html |
2733 | -rw-r--r--···0·root·········(0)·root·········(0)····49410·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/basics.broadcasting.html | 2733 | -rw-r--r--···0·root·········(0)·root·········(0)····49410·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/basics.broadcasting.html |
2734 | -rw-r--r--···0·root·········(0)·root·········(0)····32345·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/basics.copies.html | 2734 | -rw-r--r--···0·root·········(0)·root·········(0)····32345·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/basics.copies.html |
2735 | -rw-r--r--···0·root·········(0)·root·········(0)····62981·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/basics.creation.html | 2735 | -rw-r--r--···0·root·········(0)·root·········(0)····62981·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/basics.creation.html |
2736 | -rw-r--r--···0·root·········(0)·root·········(0)····64717·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/basics.dispatch.html | 2736 | -rw-r--r--···0·root·········(0)·root·········(0)····64717·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/basics.dispatch.html |
2737 | -rw-r--r--···0·root·········(0)·root·········(0)····17721·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/basics.html | 2737 | -rw-r--r--···0·root·········(0)·root·········(0)····17721·2024-11-22·23:37:09.000000·./usr/share/doc/python-numpy/html/user/basics.html |
Offset 521, 31 lines modified | Offset 521, 30 lines modified | ||
521 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[1]:·</span><span·class="kn">import</span>·<span·class="nn">numpy.random</span> | 521 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[1]:·</span><span·class="kn">import</span>·<span·class="nn">numpy.random</span> |
522 | <span·class="gp">In·[2]:·</span><span·class="n">rng</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">random</span><span·class="o">.</span><span·class="n">default_rng</span><span·class="p">()</span> | 522 | <span·class="gp">In·[2]:·</span><span·class="n">rng</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">random</span><span·class="o">.</span><span·class="n">default_rng</span><span·class="p">()</span> |
523 | <span·class="gp">In·[3]:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·rng.standard_normal(100000) | 523 | <span·class="gp">In·[3]:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·rng.standard_normal(100000) |
524 | <span·class="gp">···...:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·numpy.random.standard_normal(100000) | 524 | <span·class="gp">···...:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·numpy.random.standard_normal(100000) |
525 | <span·class="gp">···...:·</span> | 525 | <span·class="gp">···...:·</span> |
526 | <span·class="go">The·slowest·run·took·5.77·times·longer·than·the·fastest.·This·could·mean·that·an·intermediate·result·is·being·cached.</span> | ||
527 | <span·class="go"> | 526 | <span·class="go">1.4·ms·+-·140·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)</span> |
528 | <span·class="go"> | 527 | <span·class="go">2.66·ms·+-·125·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)</span> |
529 | </pre></div> | 528 | </pre></div> |
530 | </div> | 529 | </div> |
531 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[4]:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·rng.standard_exponential(100000) | 530 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[4]:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·rng.standard_exponential(100000) |
532 | <span·class="gp">···...:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·numpy.random.standard_exponential(100000) | 531 | <span·class="gp">···...:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·numpy.random.standard_exponential(100000) |
533 | <span·class="gp">···...:·</span> | 532 | <span·class="gp">···...:·</span> |
534 | <span·class="go"> | 533 | <span·class="go">741·us·+-·35.1·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)</span> |
535 | <span·class="go"> | 534 | <span·class="go">1.96·ms·+-·51.6·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)</span> |
536 | </pre></div> | 535 | </pre></div> |
537 | </div> | 536 | </div> |
538 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[5]:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·rng.standard_gamma(3.0,·100000) | 537 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[5]:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·rng.standard_gamma(3.0,·100000) |
539 | <span·class="gp">···...:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·numpy.random.standard_gamma(3.0,·100000) | 538 | <span·class="gp">···...:·</span><span·class="o">%</span><span·class="k">timeit</span>·-n·1·numpy.random.standard_gamma(3.0,·100000) |
540 | <span·class="gp">···...:·</span> | 539 | <span·class="gp">···...:·</span> |
540 | <span·class="go">2.71·ms·+-·73.8·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)</span> | ||
541 | <span·class="go"> | 541 | <span·class="go">5.08·ms·+-·49.2·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)</span> |
542 | <span·class="go">16.6·ms·+-·6.21·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)</span> | ||
543 | </pre></div> | 542 | </pre></div> |
544 | </div> | 543 | </div> |
545 | <ul·class="simple"> | 544 | <ul·class="simple"> |
546 | <li><p><a·class="reference·internal"·href="generated/numpy.random.Generator.integers.html#numpy.random.Generator.integers"·title="numpy.random.Generator.integers"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">integers</span></code></a>·is·now·the·canonical·way·to·generate·integer | 545 | <li><p><a·class="reference·internal"·href="generated/numpy.random.Generator.integers.html#numpy.random.Generator.integers"·title="numpy.random.Generator.integers"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">integers</span></code></a>·is·now·the·canonical·way·to·generate·integer |
547 | random·numbers·from·a·discrete·uniform·distribution.·This·replaces·both | 546 | random·numbers·from·a·discrete·uniform·distribution.·This·replaces·both |
548 | <a·class="reference·internal"·href="generated/numpy.random.randint.html#numpy.random.randint"·title="numpy.random.randint"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">randint</span></code></a>·and·the·deprecated·<a·class="reference·internal"·href="generated/numpy.random.random_integers.html#numpy.random.random_integers"·title="numpy.random.random_integers"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">random_integers</span></code></a>.</p></li> | 547 | <a·class="reference·internal"·href="generated/numpy.random.randint.html#numpy.random.randint"·title="numpy.random.randint"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">randint</span></code></a>·and·the·deprecated·<a·class="reference·internal"·href="generated/numpy.random.random_integers.html#numpy.random.random_integers"·title="numpy.random.random_integers"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">random_integers</span></code></a>.</p></li> |
549 | <li><p>The·<a·class="reference·internal"·href="generated/numpy.random.rand.html#numpy.random.rand"·title="numpy.random.rand"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">rand</span></code></a>·and·<a·class="reference·internal"·href="generated/numpy.random.randn.html#numpy.random.randn"·title="numpy.random.randn"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">randn</span></code></a>·methods·are·only·available·through·the·legacy | 548 | <li><p>The·<a·class="reference·internal"·href="generated/numpy.random.rand.html#numpy.random.rand"·title="numpy.random.rand"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">rand</span></code></a>·and·<a·class="reference·internal"·href="generated/numpy.random.randn.html#numpy.random.randn"·title="numpy.random.randn"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">randn</span></code></a>·methods·are·only·available·through·the·legacy |
Offset 572, 21 lines modified | Offset 571, 21 lines modified | ||
572 | <li><p>Standard·Exponentials·(<a·class="reference·internal"·href="generated/numpy.random.Generator.standard_exponential.html#numpy.random.Generator.standard_exponential"·title="numpy.random.Generator.standard_exponential"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">standard_exponential</span></code></a>)</p></li> | 571 | <li><p>Standard·Exponentials·(<a·class="reference·internal"·href="generated/numpy.random.Generator.standard_exponential.html#numpy.random.Generator.standard_exponential"·title="numpy.random.Generator.standard_exponential"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">standard_exponential</span></code></a>)</p></li> |
573 | </ul> | 572 | </ul> |
574 | </li> | 573 | </li> |
575 | </ul> | 574 | </ul> |
576 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[6]:·</span><span·class="n">rng</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">random</span><span·class="o">.</span><span·class="n">default_rng</span><span·class="p">()</span> | 575 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[6]:·</span><span·class="n">rng</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">random</span><span·class="o">.</span><span·class="n">default_rng</span><span·class="p">()</span> |
577 | <span·class="gp">In·[7]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">random</span><span·class="p">(</span><span·class="mi">3</span><span·class="p">,</span>·<span·class="n">dtype</span><span·class="o">=</span><span·class="n">np</span><span·class="o">.</span><span·class="n">float64</span><span·class="p">)</span> | 576 | <span·class="gp">In·[7]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">random</span><span·class="p">(</span><span·class="mi">3</span><span·class="p">,</span>·<span·class="n">dtype</span><span·class="o">=</span><span·class="n">np</span><span·class="o">.</span><span·class="n">float64</span><span·class="p">)</span> |
578 | <span·class="gh">Out[7]:·</span><span·class="go">array([0. | 577 | <span·class="gh">Out[7]:·</span><span·class="go">array([0.38379785,·0.80072776,·0.37761933])</span> |
579 | <span·class="gp">In·[8]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">random</span><span·class="p">(</span><span·class="mi">3</span><span·class="p">,</span>·<span·class="n">dtype</span><span·class="o">=</span><span·class="n">np</span><span·class="o">.</span><span·class="n">float32</span><span·class="p">)</span> | 578 | <span·class="gp">In·[8]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">random</span><span·class="p">(</span><span·class="mi">3</span><span·class="p">,</span>·<span·class="n">dtype</span><span·class="o">=</span><span·class="n">np</span><span·class="o">.</span><span·class="n">float32</span><span·class="p">)</span> |
580 | <span·class="gh">Out[8]:·</span><span·class="go">array([0.4 | 579 | <span·class="gh">Out[8]:·</span><span·class="go">array([0.44799286,·0.49275666,·0.21635199],·dtype=float32)</span> |
581 | <span·class="gp">In·[9]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">integers</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">256</span><span·class="p">,</span>·<span·class="n">size</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">,</span>·<span·class="n">dtype</span><span·class="o">=</span><span·class="n">np</span><span·class="o">.</span><span·class="n">uint8</span><span·class="p">)</span> | 580 | <span·class="gp">In·[9]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">integers</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">256</span><span·class="p">,</span>·<span·class="n">size</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">,</span>·<span·class="n">dtype</span><span·class="o">=</span><span·class="n">np</span><span·class="o">.</span><span·class="n">uint8</span><span·class="p">)</span> |
582 | <span·class="gh">Out[9]:·</span><span·class="go">array([ | 581 | <span·class="gh">Out[9]:·</span><span·class="go">array([·53,·151,·110],·dtype=uint8)</span> |
583 | </pre></div> | 582 | </pre></div> |
584 | </div> | 583 | </div> |
585 | <ul> | 584 | <ul> |
586 | <li><p>Optional·<code·class="docutils·literal·notranslate"><span·class="pre">out</span></code>·argument·that·allows·existing·arrays·to·be·filled·for | 585 | <li><p>Optional·<code·class="docutils·literal·notranslate"><span·class="pre">out</span></code>·argument·that·allows·existing·arrays·to·be·filled·for |
587 | select·distributions</p> | 586 | select·distributions</p> |
588 | <ul·class="simple"> | 587 | <ul·class="simple"> |
589 | <li><p>Uniforms·(<a·class="reference·internal"·href="generated/numpy.random.Generator.random.html#numpy.random.Generator.random"·title="numpy.random.Generator.random"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">random</span></code></a>)</p></li> | 588 | <li><p>Uniforms·(<a·class="reference·internal"·href="generated/numpy.random.Generator.random.html#numpy.random.Generator.random"·title="numpy.random.Generator.random"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">random</span></code></a>)</p></li> |
Offset 599, 18 lines modified | Offset 598, 18 lines modified | ||
599 | </li> | 598 | </li> |
600 | </ul> | 599 | </ul> |
601 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[10]:·</span><span·class="n">rng</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">random</span><span·class="o">.</span><span·class="n">default_rng</span><span·class="p">()</span> | 600 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[10]:·</span><span·class="n">rng</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">random</span><span·class="o">.</span><span·class="n">default_rng</span><span·class="p">()</span> |
602 | <span·class="gp">In·[11]:·</span><span·class="n">existing</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">zeros</span><span·class="p">(</span><span·class="mi">4</span><span·class="p">)</span> | 601 | <span·class="gp">In·[11]:·</span><span·class="n">existing</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">zeros</span><span·class="p">(</span><span·class="mi">4</span><span·class="p">)</span> |
603 | <span·class="gp">In·[12]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">random</span><span·class="p">(</span><span·class="n">out</span><span·class="o">=</span><span·class="n">existing</span><span·class="p">[:</span><span·class="mi">2</span><span·class="p">])</span> | 602 | <span·class="gp">In·[12]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">random</span><span·class="p">(</span><span·class="n">out</span><span·class="o">=</span><span·class="n">existing</span><span·class="p">[:</span><span·class="mi">2</span><span·class="p">])</span> |
604 | <span·class="gh">Out[12]:·</span><span·class="go">array([0. | 603 | <span·class="gh">Out[12]:·</span><span·class="go">array([0.53774083,·0.31372853])</span> |
605 | <span·class="gp">In·[13]:·</span><span·class="nb">print</span><span·class="p">(</span><span·class="n">existing</span><span·class="p">)</span> | 604 | <span·class="gp">In·[13]:·</span><span·class="nb">print</span><span·class="p">(</span><span·class="n">existing</span><span·class="p">)</span> |
606 | <span·class="go">[0. | 605 | <span·class="go">[0.53774083·0.31372853·0.·········0.········]</span> |
607 | </pre></div> | 606 | </pre></div> |
608 | </div> | 607 | </div> |
609 | <ul·class="simple"> | 608 | <ul·class="simple"> |
610 | <li><p>Optional·<code·class="docutils·literal·notranslate"><span·class="pre">axis</span></code>·argument·for·methods·like·<a·class="reference·internal"·href="generated/numpy.random.Generator.choice.html#numpy.random.Generator.choice"·title="numpy.random.Generator.choice"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">choice</span></code></a>, | 609 | <li><p>Optional·<code·class="docutils·literal·notranslate"><span·class="pre">axis</span></code>·argument·for·methods·like·<a·class="reference·internal"·href="generated/numpy.random.Generator.choice.html#numpy.random.Generator.choice"·title="numpy.random.Generator.choice"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">choice</span></code></a>, |
611 | <a·class="reference·internal"·href="generated/numpy.random.Generator.permutation.html#numpy.random.Generator.permutation"·title="numpy.random.Generator.permutation"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">permutation</span></code></a>·and·<a·class="reference·internal"·href="generated/numpy.random.Generator.shuffle.html#numpy.random.Generator.shuffle"·title="numpy.random.Generator.shuffle"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">shuffle</span></code></a>·that·controls·which | 610 | <a·class="reference·internal"·href="generated/numpy.random.Generator.permutation.html#numpy.random.Generator.permutation"·title="numpy.random.Generator.permutation"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">permutation</span></code></a>·and·<a·class="reference·internal"·href="generated/numpy.random.Generator.shuffle.html#numpy.random.Generator.shuffle"·title="numpy.random.Generator.shuffle"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">shuffle</span></code></a>·that·controls·which |
612 | axis·an·operation·is·performed·over·for·multi-dimensional·arrays.</p></li> | 611 | axis·an·operation·is·performed·over·for·multi-dimensional·arrays.</p></li> |
613 | </ul> | 612 | </ul> |
Offset 622, 25 lines modified | Offset 621, 25 lines modified | ||
622 | <span·class="gh">Out[16]:·</span> | 621 | <span·class="gh">Out[16]:·</span> |
623 | <span·class="go">array([[·0,··1,··2,··3],</span> | 622 | <span·class="go">array([[·0,··1,··2,··3],</span> |
624 | <span·class="go">·······[·4,··5,··6,··7],</span> | 623 | <span·class="go">·······[·4,··5,··6,··7],</span> |
625 | <span·class="go">·······[·8,··9,·10,·11]])</span> | 624 | <span·class="go">·······[·8,··9,·10,·11]])</span> |
626 | <span·class="gp">In·[17]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">choice</span><span·class="p">(</span><span·class="n">a</span><span·class="p">,</span>·<span·class="n">axis</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="n">size</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">)</span> | 625 | <span·class="gp">In·[17]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">choice</span><span·class="p">(</span><span·class="n">a</span><span·class="p">,</span>·<span·class="n">axis</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="n">size</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">)</span> |
627 | <span·class="gh">Out[17]:·</span> | 626 | <span·class="gh">Out[17]:·</span> |
628 | <span·class="go">array([[· | 627 | <span·class="go">array([[·0,··0,··0,··3,··2],</span> |
629 | <span·class="go">·······[· | 628 | <span·class="go">·······[·4,··4,··4,··7,··6],</span> |
630 | <span·class="go">·······[ | 629 | <span·class="go">·······[·8,··8,··8,·11,·10]])</span> |
631 | <span·class="gp">In·[18]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">shuffle</span><span·class="p">(</span><span·class="n">a</span><span·class="p">,</span>·<span·class="n">axis</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span>········<span·class="c1">#·Shuffle·in-place</span> | 630 | <span·class="gp">In·[18]:·</span><span·class="n">rng</span><span·class="o">.</span><span·class="n">shuffle</span><span·class="p">(</span><span·class="n">a</span><span·class="p">,</span>·<span·class="n">axis</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span>········<span·class="c1">#·Shuffle·in-place</span> |
632 | <span·class="gp">In·[19]:·</span><span·class="n">a</span> | 631 | <span·class="gp">In·[19]:·</span><span·class="n">a</span> |
633 | <span·class="gh">Out[19]:·</span> | 632 | <span·class="gh">Out[19]:·</span> |
634 | <span·class="go">array([[·0,·· | 633 | <span·class="go">array([[·0,··3,··2,··1],</span> |
635 | <span·class="go">·······[·4,·· | 634 | <span·class="go">·······[·4,··7,··6,··5],</span> |
636 | <span·class="go">·······[·8,· | 635 | <span·class="go">·······[·8,·11,·10,··9]])</span> |
637 | </pre></div> | 636 | </pre></div> |
638 | </div> | 637 | </div> |
639 | <ul·class="simple"> | 638 | <ul·class="simple"> |
640 | <li><p>Added·a·method·to·sample·from·the·complex·normal·distribution | 639 | <li><p>Added·a·method·to·sample·from·the·complex·normal·distribution |
641 | (<em·class="xref·py·py-obj">complex_normal</em>)</p></li> | 640 | (<em·class="xref·py·py-obj">complex_normal</em>)</p></li> |
642 | </ul> | 641 | </ul> |
643 | </section> | 642 | </section> |
Offset 101, 28 lines modified | Offset 101, 26 lines modified | ||
101 | In·[1]:·import·numpy.random | 101 | In·[1]:·import·numpy.random |
102 | In·[2]:·rng·=·np.random.default_rng() | 102 | In·[2]:·rng·=·np.random.default_rng() |
103 | In·[3]:·%timeit·-n·1·rng.standard_normal(100000) | 103 | In·[3]:·%timeit·-n·1·rng.standard_normal(100000) |
104 | ···...:·%timeit·-n·1·numpy.random.standard_normal(100000) | 104 | ···...:·%timeit·-n·1·numpy.random.standard_normal(100000) |
105 | ···...: | 105 | ···...: |
106 | The·slowest·run·took·5.77·times·longer·than·the·fastest.·This·could·mean·that | ||
107 | an·intermediate·result·is·being·cached. | ||
108 | 106 | 1.4·ms·+-·140·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each) | |
109 | 107 | 2.66·ms·+-·125·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each) | |
110 | In·[4]:·%timeit·-n·1·rng.standard_exponential(100000) | 108 | In·[4]:·%timeit·-n·1·rng.standard_exponential(100000) |
111 | ···...:·%timeit·-n·1·numpy.random.standard_exponential(100000) | 109 | ···...:·%timeit·-n·1·numpy.random.standard_exponential(100000) |
112 | ···...: | 110 | ···...: |
113 | 111 | 741·us·+-·35.1·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each) | |
114 | 112 | 1.96·ms·+-·51.6·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each) | |
115 | In·[5]:·%timeit·-n·1·rng.standard_gamma(3.0,·100000) | 113 | In·[5]:·%timeit·-n·1·rng.standard_gamma(3.0,·100000) |
116 | ···...:·%timeit·-n·1·numpy.random.standard_gamma(3.0,·100000) | 114 | ···...:·%timeit·-n·1·numpy.random.standard_gamma(3.0,·100000) |
117 | ···...: | 115 | ···...: |
116 | 2.71·ms·+-·73.8·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each) | ||
118 | 117 | 5.08·ms·+-·49.2·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each) | |
119 | 16.6·ms·+-·6.21·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each) | ||
120 | ····*·_\x8i_\x8n_\x8t_\x8e_\x8g_\x8e_\x8r_\x8s·is·now·the·canonical·way·to·generate·integer·random·numbers·from | 118 | ····*·_\x8i_\x8n_\x8t_\x8e_\x8g_\x8e_\x8r_\x8s·is·now·the·canonical·way·to·generate·integer·random·numbers·from |
121 | ······a·discrete·uniform·distribution.·This·replaces·both·_\x8r_\x8a_\x8n_\x8d_\x8i_\x8n_\x8t·and·the | 119 | ······a·discrete·uniform·distribution.·This·replaces·both·_\x8r_\x8a_\x8n_\x8d_\x8i_\x8n_\x8t·and·the |
122 | ······deprecated·_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m_\x8__\x8i_\x8n_\x8t_\x8e_\x8g_\x8e_\x8r_\x8s. | 120 | ······deprecated·_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m_\x8__\x8i_\x8n_\x8t_\x8e_\x8g_\x8e_\x8r_\x8s. |
123 | ····*·The·_\x8r_\x8a_\x8n_\x8d·and·_\x8r_\x8a_\x8n_\x8d_\x8n·methods·are·only·available·through·the·legacy | 121 | ····*·The·_\x8r_\x8a_\x8n_\x8d·and·_\x8r_\x8a_\x8n_\x8d_\x8n·methods·are·only·available·through·the·legacy |
124 | ······_\x8R_\x8a_\x8n_\x8d_\x8o_\x8m_\x8S_\x8t_\x8a_\x8t_\x8e. | 122 | ······_\x8R_\x8a_\x8n_\x8d_\x8o_\x8m_\x8S_\x8t_\x8a_\x8t_\x8e. |
125 | ····*·_\x8G_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8r_\x8a_\x8n_\x8d_\x8o_\x8m·is·now·the·canonical·way·to·generate·floating-point | 123 | ····*·_\x8G_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8._\x8r_\x8a_\x8n_\x8d_\x8o_\x8m·is·now·the·canonical·way·to·generate·floating-point |
126 | ······random·numbers,·which·replaces·_\x8R_\x8a_\x8n_\x8d_\x8o_\x8m_\x8S_\x8t_\x8a_\x8t_\x8e_\x8._\x8r_\x8a_\x8n_\x8d_\x8o_\x8m_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·and | 124 | ······random·numbers,·which·replaces·_\x8R_\x8a_\x8n_\x8d_\x8o_\x8m_\x8S_\x8t_\x8a_\x8t_\x8e_\x8._\x8r_\x8a_\x8n_\x8d_\x8o_\x8m_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e,·and |
Offset 141, 38 lines modified | Offset 139, 38 lines modified | ||
141 | ··········o·Uniforms·(_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m·and·_\x8i_\x8n_\x8t_\x8e_\x8g_\x8e_\x8r_\x8s) | 139 | ··········o·Uniforms·(_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m·and·_\x8i_\x8n_\x8t_\x8e_\x8g_\x8e_\x8r_\x8s) |
142 | ··········o·Normals·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l) | 140 | ··········o·Normals·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l) |
143 | ··········o·Standard·Gammas·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8g_\x8a_\x8m_\x8m_\x8a) | 141 | ··········o·Standard·Gammas·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8g_\x8a_\x8m_\x8m_\x8a) |
144 | ··········o·Standard·Exponentials·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8e_\x8x_\x8p_\x8o_\x8n_\x8e_\x8n_\x8t_\x8i_\x8a_\x8l) | 142 | ··········o·Standard·Exponentials·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8e_\x8x_\x8p_\x8o_\x8n_\x8e_\x8n_\x8t_\x8i_\x8a_\x8l) |
145 | In·[6]:·rng·=·np.random.default_rng() | 143 | In·[6]:·rng·=·np.random.default_rng() |
146 | In·[7]:·rng.random(3,·dtype=np.float64) | 144 | In·[7]:·rng.random(3,·dtype=np.float64) |
147 | Out[7]:·array([0. | 145 | Out[7]:·array([0.38379785,·0.80072776,·0.37761933]) |
148 | In·[8]:·rng.random(3,·dtype=np.float32) | 146 | In·[8]:·rng.random(3,·dtype=np.float32) |
149 | Out[8]:·array([0.4 | 147 | Out[8]:·array([0.44799286,·0.49275666,·0.21635199],·dtype=float32) |
150 | In·[9]:·rng.integers(0,·256,·size=3,·dtype=np.uint8) | 148 | In·[9]:·rng.integers(0,·256,·size=3,·dtype=np.uint8) |
151 | Out[9]:·array([ | 149 | Out[9]:·array([·53,·151,·110],·dtype=uint8) |
152 | ····*·Optional·out·argument·that·allows·existing·arrays·to·be·filled·for·select | 150 | ····*·Optional·out·argument·that·allows·existing·arrays·to·be·filled·for·select |
153 | ······distributions | 151 | ······distributions |
154 | ··········o·Uniforms·(_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m) | 152 | ··········o·Uniforms·(_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m) |
155 | ··········o·Normals·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l) | 153 | ··········o·Normals·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8n_\x8o_\x8r_\x8m_\x8a_\x8l) |
156 | ··········o·Standard·Gammas·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8g_\x8a_\x8m_\x8m_\x8a) | 154 | ··········o·Standard·Gammas·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8g_\x8a_\x8m_\x8m_\x8a) |
157 | ··········o·Standard·Exponentials·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8e_\x8x_\x8p_\x8o_\x8n_\x8e_\x8n_\x8t_\x8i_\x8a_\x8l) | 155 | ··········o·Standard·Exponentials·(_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8__\x8e_\x8x_\x8p_\x8o_\x8n_\x8e_\x8n_\x8t_\x8i_\x8a_\x8l) |
158 | ······This·allows·multithreading·to·fill·large·arrays·in·chunks·using·suitable | 156 | ······This·allows·multithreading·to·fill·large·arrays·in·chunks·using·suitable |
159 | ······BitGenerators·in·parallel. | 157 | ······BitGenerators·in·parallel. |
160 | In·[10]:·rng·=·np.random.default_rng() | 158 | In·[10]:·rng·=·np.random.default_rng() |
161 | In·[11]:·existing·=·np.zeros(4) | 159 | In·[11]:·existing·=·np.zeros(4) |
162 | In·[12]:·rng.random(out=existing[:2]) | 160 | In·[12]:·rng.random(out=existing[:2]) |
163 | Out[12]:·array([0. | 161 | Out[12]:·array([0.53774083,·0.31372853]) |
164 | In·[13]:·print(existing) | 162 | In·[13]:·print(existing) |
165 | [0. | 163 | [0.53774083·0.31372853·0.·········0.········] |
166 | ····*·Optional·axis·argument·for·methods·like·_\x8c_\x8h_\x8o_\x8i_\x8c_\x8e,·_\x8p_\x8e_\x8r_\x8m_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n·and·_\x8s_\x8h_\x8u_\x8f_\x8f_\x8l_\x8e | 164 | ····*·Optional·axis·argument·for·methods·like·_\x8c_\x8h_\x8o_\x8i_\x8c_\x8e,·_\x8p_\x8e_\x8r_\x8m_\x8u_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n·and·_\x8s_\x8h_\x8u_\x8f_\x8f_\x8l_\x8e |
167 | ······that·controls·which·axis·an·operation·is·performed·over·for·multi- | 165 | ······that·controls·which·axis·an·operation·is·performed·over·for·multi- |
168 | ······dimensional·arrays. | 166 | ······dimensional·arrays. |
169 | In·[14]:·rng·=·np.random.default_rng() | 167 | In·[14]:·rng·=·np.random.default_rng() |
170 | In·[15]:·a·=·np.arange(12).reshape((3,·4)) | 168 | In·[15]:·a·=·np.arange(12).reshape((3,·4)) |
Offset 180, 25 lines modified | Offset 178, 25 lines modified | ||
180 | Out[16]: | 178 | Out[16]: |
181 | array([[·0,··1,··2,··3], | 179 | array([[·0,··1,··2,··3], |
182 | ·······[·4,··5,··6,··7], | 180 | ·······[·4,··5,··6,··7], |
183 | ·······[·8,··9,·10,·11]]) | 181 | ·······[·8,··9,·10,·11]]) |
184 | In·[17]:·rng.choice(a,·axis=1,·size=5) | 182 | In·[17]:·rng.choice(a,·axis=1,·size=5) |
185 | Out[17]: | 183 | Out[17]: |
186 | array([[· | 184 | array([[·0,··0,··0,··3,··2], |
187 | ·······[· | 185 | ·······[·4,··4,··4,··7,··6], |
188 | ·······[ | 186 | ·······[·8,··8,··8,·11,·10]]) |
189 | In·[18]:·rng.shuffle(a,·axis=1)········#·Shuffle·in-place | 187 | In·[18]:·rng.shuffle(a,·axis=1)········#·Shuffle·in-place |
190 | In·[19]:·a | 188 | In·[19]:·a |
191 | Out[19]: | 189 | Out[19]: |
192 | array([[·0,·· | 190 | array([[·0,··3,··2,··1], |
193 | ·······[·4,·· | 191 | ·······[·4,··7,··6,··5], |
194 | ·······[·8,· | 192 | ·······[·8,·11,·10,··9]]) |
195 | ····*·Added·a·method·to·sample·from·the·complex·normal·distribution | 193 | ····*·Added·a·method·to·sample·from·the·complex·normal·distribution |
196 | ······(c\x8co\x8om\x8mp\x8pl\x8le\x8ex\x8x_\x8_n\x8no\x8or\x8rm\x8ma\x8al\x8l) | 194 | ······(c\x8co\x8om\x8mp\x8pl\x8le\x8ex\x8x_\x8_n\x8no\x8or\x8rm\x8ma\x8al\x8l) |
197 | _\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s | 195 | _\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s |
198 | _\x8M_\x8u_\x8l_\x8t_\x8i_\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8e_\x8d_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n | 196 | _\x8M_\x8u_\x8l_\x8t_\x8i_\x8t_\x8h_\x8r_\x8e_\x8a_\x8d_\x8e_\x8d_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n |
199 | _\x8n_\x8e_\x8x_\x8t | 197 | _\x8n_\x8e_\x8x_\x8t |
200 | _\x8P_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e | 198 | _\x8P_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e |
201 | ©·Copyright·2008-2024,·NumPy·Developers. | 199 | ©·Copyright·2008-2024,·NumPy·Developers. |
Offset 592, 31 lines modified | Offset 592, 31 lines modified | ||
592 | <span·class="gp">In·[3]:·</span><span·class="n">y</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">arange</span><span·class="p">(</span><span·class="mi">10</span><span·class="p">)</span>·<span·class="o">+</span>·<span·class="n">rng</span><span·class="o">.</span><span·class="n">standard_normal</span><span·class="p">(</span><span·class="mi">10</span><span·class="p">)</span> | 592 | <span·class="gp">In·[3]:·</span><span·class="n">y</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">arange</span><span·class="p">(</span><span·class="mi">10</span><span·class="p">)</span>·<span·class="o">+</span>·<span·class="n">rng</span><span·class="o">.</span><span·class="n">standard_normal</span><span·class="p">(</span><span·class="mi">10</span><span·class="p">)</span> |
593 | </pre></div> | 593 | </pre></div> |
594 | </div> | 594 | </div> |
595 | <p>With·the·legacy·polynomial·module,·a·linear·fit·(i.e.·polynomial·of·degree·1) | 595 | <p>With·the·legacy·polynomial·module,·a·linear·fit·(i.e.·polynomial·of·degree·1) |
596 | could·be·applied·to·these·data·with·<a·class="reference·internal"·href="generated/numpy.polyfit.html#numpy.polyfit"·title="numpy.polyfit"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">polyfit</span></code></a>:</p> | 596 | could·be·applied·to·these·data·with·<a·class="reference·internal"·href="generated/numpy.polyfit.html#numpy.polyfit"·title="numpy.polyfit"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">polyfit</span></code></a>:</p> |
597 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[4]:·</span><span·class="n">np</span><span·class="o">.</span><span·class="n">polyfit</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">y</span><span·class="p">,</span>·<span·class="n">deg</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span> | 597 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[4]:·</span><span·class="n">np</span><span·class="o">.</span><span·class="n">polyfit</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">y</span><span·class="p">,</span>·<span·class="n">deg</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span> |
598 | <span·class="gh">Out[4]:·</span><span·class="go">array([0. | 598 | <span·class="gh">Out[4]:·</span><span·class="go">array([0.95893001,·0.15955061])</span> |
599 | </pre></div> | 599 | </pre></div> |
600 | </div> | 600 | </div> |
601 | <p>With·the·new·polynomial·API,·the·<a·class="reference·internal"·href="generated/numpy.polynomial.polynomial.Polynomial.fit.html#numpy.polynomial.polynomial.Polynomial.fit"·title="numpy.polynomial.polynomial.Polynomial.fit"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">fit</span></code></a> | 601 | <p>With·the·new·polynomial·API,·the·<a·class="reference·internal"·href="generated/numpy.polynomial.polynomial.Polynomial.fit.html#numpy.polynomial.polynomial.Polynomial.fit"·title="numpy.polynomial.polynomial.Polynomial.fit"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">fit</span></code></a> |
602 | class·method·is·preferred:</p> | 602 | class·method·is·preferred:</p> |
603 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[5]:·</span><span·class="n">p_fitted</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">polynomial</span><span·class="o">.</span><span·class="n">Polynomial</span><span·class="o">.</span><span·class="n">fit</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">y</span><span·class="p">,</span>·<span·class="n">deg</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span> | 603 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[5]:·</span><span·class="n">p_fitted</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">polynomial</span><span·class="o">.</span><span·class="n">Polynomial</span><span·class="o">.</span><span·class="n">fit</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">y</span><span·class="p">,</span>·<span·class="n">deg</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span> |
604 | <span·class="gp">In·[6]:·</span><span·class="n">p_fitted</span> | 604 | <span·class="gp">In·[6]:·</span><span·class="n">p_fitted</span> |
605 | <span·class="gh">Out[6]:·</span><span·class="go">Polynomial([ | 605 | <span·class="gh">Out[6]:·</span><span·class="go">Polynomial([4.47473567,·4.31518506],·domain=[0.,·9.],·window=[-1.,··1.],·symbol='x')</span> |
606 | </pre></div> | 606 | </pre></div> |
607 | </div> | 607 | </div> |
608 | <p>Note·that·the·coefficients·are·given·<em>in·the·scaled·domain</em>·defined·by·the | 608 | <p>Note·that·the·coefficients·are·given·<em>in·the·scaled·domain</em>·defined·by·the |
609 | linear·mapping·between·the·<code·class="docutils·literal·notranslate"><span·class="pre">window</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">domain</span></code>. | 609 | linear·mapping·between·the·<code·class="docutils·literal·notranslate"><span·class="pre">window</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">domain</span></code>. |
610 | <a·class="reference·internal"·href="generated/numpy.polynomial.polynomial.Polynomial.convert.html#numpy.polynomial.polynomial.Polynomial.convert"·title="numpy.polynomial.polynomial.Polynomial.convert"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">convert</span></code></a>·can·be·used·to·get·the | 610 | <a·class="reference·internal"·href="generated/numpy.polynomial.polynomial.Polynomial.convert.html#numpy.polynomial.polynomial.Polynomial.convert"·title="numpy.polynomial.polynomial.Polynomial.convert"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">convert</span></code></a>·can·be·used·to·get·the |
611 | coefficients·in·the·unscaled·data·domain.</p> | 611 | coefficients·in·the·unscaled·data·domain.</p> |
612 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[7]:·</span><span·class="n">p_fitted</span><span·class="o">.</span><span·class="n">convert</span><span·class="p">()</span> | 612 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[7]:·</span><span·class="n">p_fitted</span><span·class="o">.</span><span·class="n">convert</span><span·class="p">()</span> |
613 | <span·class="gh">Out[7]:·</span><span·class="go">Polynomial([ | 613 | <span·class="gh">Out[7]:·</span><span·class="go">Polynomial([0.15955061,·0.95893001],·domain=[-1.,··1.],·window=[-1.,··1.],·symbol='x')</span> |
614 | </pre></div> | 614 | </pre></div> |
615 | </div> | 615 | </div> |
616 | </section> | 616 | </section> |
617 | </section> | 617 | </section> |
618 | <section·id="documentation-for-the-polynomial-package"> | 618 | <section·id="documentation-for-the-polynomial-package"> |
619 | <h2>Documentation·for·the·<a·class="reference·internal"·href="routines.polynomials-package.html#module-numpy.polynomial"·title="numpy.polynomial"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">polynomial</span></code></a>·package<a·class="headerlink"·href="#documentation-for-the-polynomial-package"·title="Link·to·this·heading">#</a></h2> | 619 | <h2>Documentation·for·the·<a·class="reference·internal"·href="routines.polynomials-package.html#module-numpy.polynomial"·title="numpy.polynomial"><code·class="xref·py·py-obj·docutils·literal·notranslate"><span·class="pre">polynomial</span></code></a>·package<a·class="headerlink"·href="#documentation-for-the-polynomial-package"·title="Link·to·this·heading">#</a></h2> |
620 | <p>In·addition·to·standard·power·series·polynomials,·the·polynomial·package | 620 | <p>In·addition·to·standard·power·series·polynomials,·the·polynomial·package |
Offset 150, 26 lines modified | Offset 150, 26 lines modified | ||
150 | In·[2]:·x·=·np.arange(10) | 150 | In·[2]:·x·=·np.arange(10) |
151 | In·[3]:·y·=·np.arange(10)·+·rng.standard_normal(10) | 151 | In·[3]:·y·=·np.arange(10)·+·rng.standard_normal(10) |
152 | With·the·legacy·polynomial·module,·a·linear·fit·(i.e.·polynomial·of·degree·1) | 152 | With·the·legacy·polynomial·module,·a·linear·fit·(i.e.·polynomial·of·degree·1) |
153 | could·be·applied·to·these·data·with·_\x8p_\x8o_\x8l_\x8y_\x8f_\x8i_\x8t: | 153 | could·be·applied·to·these·data·with·_\x8p_\x8o_\x8l_\x8y_\x8f_\x8i_\x8t: |
154 | In·[4]:·np.polyfit(x,·y,·deg=1) | 154 | In·[4]:·np.polyfit(x,·y,·deg=1) |
155 | Out[4]:·array([0. | 155 | Out[4]:·array([0.95893001,·0.15955061]) |
156 | With·the·new·polynomial·API,·the·_\x8f_\x8i_\x8t·class·method·is·preferred: | 156 | With·the·new·polynomial·API,·the·_\x8f_\x8i_\x8t·class·method·is·preferred: |
157 | In·[5]:·p_fitted·=·np.polynomial.Polynomial.fit(x,·y,·deg=1) | 157 | In·[5]:·p_fitted·=·np.polynomial.Polynomial.fit(x,·y,·deg=1) |
158 | In·[6]:·p_fitted | 158 | In·[6]:·p_fitted |
159 | Out[6]:·Polynomial([ | 159 | Out[6]:·Polynomial([4.47473567,·4.31518506],·domain=[0.,·9.],·window=[-1., |
160 | 1.],·symbol='x') | 160 | 1.],·symbol='x') |
161 | Note·that·the·coefficients·are·given·i\x8in\x8n·t\x8th\x8he\x8e·s\x8sc\x8ca\x8al\x8le\x8ed\x8d·d\x8do\x8om\x8ma\x8ai\x8in\x8n·defined·by·the·linear | 161 | Note·that·the·coefficients·are·given·i\x8in\x8n·t\x8th\x8he\x8e·s\x8sc\x8ca\x8al\x8le\x8ed\x8d·d\x8do\x8om\x8ma\x8ai\x8in\x8n·defined·by·the·linear |
162 | mapping·between·the·window·and·domain.·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8t·can·be·used·to·get·the | 162 | mapping·between·the·window·and·domain.·_\x8c_\x8o_\x8n_\x8v_\x8e_\x8r_\x8t·can·be·used·to·get·the |
163 | coefficients·in·the·unscaled·data·domain. | 163 | coefficients·in·the·unscaled·data·domain. |
164 | In·[7]:·p_fitted.convert() | 164 | In·[7]:·p_fitted.convert() |
165 | Out[7]:·Polynomial([ | 165 | Out[7]:·Polynomial([0.15955061,·0.95893001],·domain=[-1.,··1.],·window=[-1., |
166 | 1.],·symbol='x') | 166 | 1.],·symbol='x') |
167 | *\x8**\x8**\x8**\x8**\x8*·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·f\x8fo\x8or\x8r·t\x8th\x8he\x8e·_\x8p\x8p_\x8o\x8o_\x8l\x8l_\x8y\x8y_\x8n\x8n_\x8o\x8o_\x8m\x8m_\x8i\x8i_\x8a\x8a_\x8l\x8l·p\x8pa\x8ac\x8ck\x8ka\x8ag\x8ge\x8e_\x8#\x8#·*\x8**\x8**\x8**\x8**\x8* | 167 | *\x8**\x8**\x8**\x8**\x8*·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·f\x8fo\x8or\x8r·t\x8th\x8he\x8e·_\x8p\x8p_\x8o\x8o_\x8l\x8l_\x8y\x8y_\x8n\x8n_\x8o\x8o_\x8m\x8m_\x8i\x8i_\x8a\x8a_\x8l\x8l·p\x8pa\x8ac\x8ck\x8ka\x8ag\x8ge\x8e_\x8#\x8#·*\x8**\x8**\x8**\x8**\x8* |
168 | In·addition·to·standard·power·series·polynomials,·the·polynomial·package | 168 | In·addition·to·standard·power·series·polynomials,·the·polynomial·package |
169 | provides·several·additional·kinds·of·polynomials·including·Chebyshev,·Hermite | 169 | provides·several·additional·kinds·of·polynomials·including·Chebyshev,·Hermite |
170 | (two·subtypes),·Laguerre,·and·Legendre·polynomials.·Each·of·these·has·an | 170 | (two·subtypes),·Laguerre,·and·Legendre·polynomials.·Each·of·these·has·an |
171 | associated·c\x8co\x8on\x8nv\x8ve\x8en\x8ni\x8ie\x8en\x8nc\x8ce\x8e·c\x8cl\x8la\x8as\x8ss\x8s·available·from·the·_\x8n_\x8u_\x8m_\x8p_\x8y_\x8._\x8p_\x8o_\x8l_\x8y_\x8n_\x8o_\x8m_\x8i_\x8a_\x8l·namespace·that | 171 | associated·c\x8co\x8on\x8nv\x8ve\x8en\x8ni\x8ie\x8en\x8nc\x8ce\x8e·c\x8cl\x8la\x8as\x8ss\x8s·available·from·the·_\x8n_\x8u_\x8m_\x8p_\x8y_\x8._\x8p_\x8o_\x8l_\x8y_\x8n_\x8o_\x8m_\x8i_\x8a_\x8l·namespace·that |
172 | provides·a·consistent·interface·for·working·with·polynomials·regardless·of | 172 | provides·a·consistent·interface·for·working·with·polynomials·regardless·of |
Offset 32284, 15 lines modified | Offset 32284, 15 lines modified | ||
32284 | ········"00578369":·1752, | 32284 | ········"00578369":·1752, |
32285 | ········"00625":·1583, | 32285 | ········"00625":·1583, |
32286 | ········"007000999997857":·1539, | 32286 | ········"007000999997857":·1539, |
32287 | ········"00867716":·[2316,·2360,·2407], | 32287 | ········"00867716":·[2316,·2360,·2407], |
32288 | ········"00950034":·[2336,·2349,·2379,·2386,·2396,·2426,·2433,·2446], | 32288 | ········"00950034":·[2336,·2349,·2379,·2386,·2396,·2426,·2433,·2446], |
32289 | ········"009a87ff44bf":·42, | 32289 | ········"009a87ff44bf":·42, |
32290 | ········"00j":·[523,·641,·2165], | 32290 | ········"00j":·[523,·641,·2165], |
32291 | ········"01":·[41,·42,·45,·54,·55,·62,·156,·171,·172,·173,·344,·370,·419,·523,·556,·566,·575,·668,·896,·1087,·1093,·1584,·1592,·1599,·1656,·1713,·1770,·1827,·1883,·2102,·2158,·2320,·2326,·2364,·2370,·2411,·2417,·2 | 32291 | ········"01":·[41,·42,·45,·54,·55,·62,·156,·171,·172,·173,·344,·370,·419,·523,·556,·566,·575,·668,·896,·1087,·1093,·1584,·1592,·1599,·1656,·1713,·1770,·1827,·1883,·2102,·2158,·2320,·2326,·2364,·2370,·2411,·2417,·2522,·2650], |
32292 | ········"010":·[652,·1600,·1657,·1714,·1771,·1828,·1884], | 32292 | ········"010":·[652,·1600,·1657,·1714,·1771,·1828,·1884], |
32293 | ········"0100":·1517, | 32293 | ········"0100":·1517, |
32294 | ········"01041667":·1583, | 32294 | ········"01041667":·1583, |
32295 | ········"011":·[1600,·1657,·1714,·1771,·1828,·1884], | 32295 | ········"011":·[1600,·1657,·1714,·1771,·1828,·1884], |
32296 | ········"012":·[1600,·1657,·1714,·1771,·1828,·1884], | 32296 | ········"012":·[1600,·1657,·1714,·1771,·1828,·1884], |
32297 | ········"0123456789":·[312,·2130], | 32297 | ········"0123456789":·[312,·2130], |
32298 | ········"01280782":·[2332,·2375,·2422], | 32298 | ········"01280782":·[2332,·2375,·2422], |
Offset 32331, 15 lines modified | Offset 32331, 15 lines modified | ||
32331 | ········"04":·[54,·55,·173,·419,·556,·1584,·2460,·2591,·2651], | 32331 | ········"04":·[54,·55,·173,·419,·556,·1584,·2460,·2591,·2651], |
32332 | ········"0400":·369, | 32332 | ········"0400":·369, |
32333 | ········"04097352":·2627, | 32333 | ········"04097352":·2627, |
32334 | ········"04166667":·[1542,·1583], | 32334 | ········"04166667":·[1542,·1583], |
32335 | ········"04211c6":·2518, | 32335 | ········"04211c6":·2518, |
32336 | ········"04551152e":·2102, | 32336 | ········"04551152e":·2102, |
32337 | ········"04719755":·1909, | 32337 | ········"04719755":·1909, |
32338 | ········"05":·[55,·100,·172,·419,·557,·668,·895,·1094,·1869,·2081,·2171,·2350,·2397,·2447 | 32338 | ········"05":·[55,·100,·172,·419,·557,·668,·895,·1094,·1869,·2081,·2171,·2350,·2397,·2447], |
32339 | ········"0500":·369, | 32339 | ········"0500":·369, |
32340 | ········"05093587":·2627, | 32340 | ········"05093587":·2627, |
32341 | ········"05208333":·1583, | 32341 | ········"05208333":·1583, |
32342 | ········"05263157894736836":·2254, | 32342 | ········"05263157894736836":·2254, |
32343 | ········"0549999999999997":·2081, | 32343 | ········"0549999999999997":·2081, |
32344 | ········"055":·2081, | 32344 | ········"055":·2081, |
32345 | ········"0596779":·1152, | 32345 | ········"0596779":·1152, |
Offset 32352, 29 lines modified | Offset 32352, 28 lines modified | ||
32352 | ········"06959433e":·[429,·946], | 32352 | ········"06959433e":·[429,·946], |
32353 | ········"07":·[55,·173,·556,·895,·896,·1333,·2168,·2505], | 32353 | ········"07":·[55,·173,·556,·895,·896,·1333,·2168,·2505], |
32354 | ········"07106781e":·523, | 32354 | ········"07106781e":·523, |
32355 | ········"07407407":·1807, | 32355 | ········"07407407":·1807, |
32356 | ········"07779185":·2455, | 32356 | ········"07779185":·2455, |
32357 | ········"07937323":·533, | 32357 | ········"07937323":·533, |
32358 | ········"07944154":·[656,·2647], | 32358 | ········"07944154":·[656,·2647], |
32359 | ········"08":·[55,·100,·156,·419,·532,·557,·895,·1094,·2319,·2363,·2410,·2522,·2651], | 32359 | ········"08":·[55,·100,·156,·419,·532,·557,·895,·1094,·2319,·2363,·2410,·2458,·2522,·2651], |
32360 | ········"0800":·2522, | 32360 | ········"0800":·2522, |
32361 | ········"08187135":·54, | 32361 | ········"08187135":·54, |
32362 | ········"08333333":·[1643,·1869], | 32362 | ········"08333333":·[1643,·1869], |
32363 | ········"08405657":·1865, | 32363 | ········"08405657":·1865, |
32364 | ········"0855":·2634, | 32364 | ········"0855":·2634, |
32365 | ········"08553692":·38, | 32365 | ········"08553692":·38, |
32366 | ········"085537":·2634, | 32366 | ········"085537":·2634, |
32367 | ········"0856306":·1153, | 32367 | ········"0856306":·1153, |
32368 | ········"08618131":·1524, | 32368 | ········"08618131":·1524, |
32369 | ········"08703704":·[1112,·1541], | 32369 | ········"08703704":·[1112,·1541], |
32370 | ········"087300000000000003":·[2343,·2389,·2438], | 32370 | ········"087300000000000003":·[2343,·2389,·2438], |
32371 | ········"09":·[55,·2169,·2320,·2364,·2411], | 32371 | ········"09":·[55,·2169,·2320,·2364,·2411], |
32372 | ········"090097550553843":·2634, | 32372 | ········"090097550553843":·2634, |
32373 | ········"09171927":·2485, | ||
32374 | ········"09417735":·[358,·2454,·2631], | 32373 | ········"09417735":·[358,·2454,·2631], |
32375 | ········"0943951":·1909, | 32374 | ········"0943951":·1909, |
32376 | ········"09640474436813":·674, | 32375 | ········"09640474436813":·674, |
32377 | ········"09861229":·[656,·2647], | 32376 | ········"09861229":·[656,·2647], |
32378 | ········"0999755859375":·62, | 32377 | ········"0999755859375":·62, |
32379 | ········"099975586":·62, | 32378 | ········"099975586":·62, |
32380 | ········"0a1":·586, | 32379 | ········"0a1":·586, |
Offset 32532, 15 lines modified | Offset 32531, 15 lines modified | ||
32532 | ········"10_qbz5n2kfra8p0":·42, | 32531 | ········"10_qbz5n2kfra8p0":·42, |
32533 | ········"10j":·2657, | 32532 | ········"10j":·2657, |
32534 | ········"10n":·2333, | 32533 | ········"10n":·2333, |
32535 | ········"10th":·[96,·97,·109,·110,·111,·112,·113,·115,·134,·135,·138,·140,·542,·669,·670,·671], | 32534 | ········"10th":·[96,·97,·109,·110,·111,·112,·113,·115,·134,·135,·138,·140,·542,·669,·670,·671], |
32536 | ········"10x":·[2591,·2599,·2613,·2619], | 32535 | ········"10x":·[2591,·2599,·2613,·2619], |
32537 | ········"10x100":·651, | 32536 | ········"10x100":·651, |
32538 | ········"11":·[8,·38,·42,·47,·54,·55,·58,·59,·60,·61,·62,·73,·79,·107,·116,·117,·144,·146,·147,·149,·150,·259,·279,·305,·345,·363,·373,·375,·376,·384,·444,·522,·529,·535,·539,·627,·652,·663,·668,·879,·892,·904,·940,·962,·1068,·1082,·1106,·1113,·1121,·1122,·1123,·1130,·1142,·1158,·1159,·1160,·1163,·1165,·1166,·1192,·1193,·1194,·1203,·1204,·1205,·1211,·1212,·1217,·1227,·1228,·1235,·1239,·1245,·1247,·1299,·1310,·1331,·1453,·1464,·1508,·1555,·1578,·1599,·1616,·1638,·1642,·1652,·1654,·1656,·1673,·1695,·1713,·1730,·1752,·1757,·1760,·1770,·1787,·1809,·1816,·1827,·1844,·1865,·1883,·1910,·1973,·1984,·2078,·2081,·2087,·2089,·2113,·2123,·2178,·2182,·2202,·2203,·2204,·2206,·2207,·2208,·2223,·2235,·2238,·2243,·2245,·2313,·2330,·2333,·2339,·2350,·2358,·2374,·2376,·2385,·2387,·2397,·2405,·2421,·2423,·2432,·2435,·2447,·2454,·2458,·2488,·2510,·2516,·2517,·2519,·2532,·2536,·2544,·2551,·2557,·2568,·2573,·2574,·2575,·2576,·2577,·2578,·2584,·2585,·2587,·2588,·2589,·2590,·2591,·2592,·2593,·2594,·2595,·2596,·2597,·2598,·2599,·2619,·2624,·2627,·2629,·2630,·2633,·2637,·2640,·2649,·2657,·2658], | 32537 | ········"11":·[8,·38,·42,·47,·54,·55,·58,·59,·60,·61,·62,·73,·79,·107,·116,·117,·144,·146,·147,·149,·150,·259,·279,·305,·345,·363,·373,·375,·376,·384,·444,·522,·529,·535,·539,·627,·652,·663,·668,·879,·892,·904,·940,·962,·1068,·1082,·1106,·1113,·1121,·1122,·1123,·1130,·1142,·1158,·1159,·1160,·1163,·1165,·1166,·1192,·1193,·1194,·1203,·1204,·1205,·1211,·1212,·1217,·1227,·1228,·1235,·1239,·1245,·1247,·1299,·1310,·1331,·1453,·1464,·1508,·1555,·1578,·1599,·1616,·1638,·1642,·1652,·1654,·1656,·1673,·1695,·1713,·1730,·1752,·1757,·1760,·1770,·1787,·1809,·1816,·1827,·1844,·1865,·1883,·1910,·1973,·1984,·2078,·2081,·2087,·2089,·2113,·2123,·2178,·2182,·2202,·2203,·2204,·2206,·2207,·2208,·2223,·2235,·2238,·2243,·2245,·2313,·2330,·2333,·2339,·2350,·2358,·2374,·2376,·2385,·2387,·2397,·2405,·2421,·2423,·2432,·2435,·2447,·2454,·2458,·2488,·2510,·2516,·2517,·2519,·2532,·2536,·2544,·2551,·2557,·2568,·2573,·2574,·2575,·2576,·2577,·2578,·2584,·2585,·2587,·2588,·2589,·2590,·2591,·2592,·2593,·2594,·2595,·2596,·2597,·2598,·2599,·2619,·2624,·2627,·2629,·2630,·2633,·2637,·2640,·2649,·2657,·2658], |
32539 | ········"110":·[38,·145,·418,·532,·551,·967,·968,·2658], | 32538 | ········"110":·[38,·145,·418,·532,·551,·967,·968,·2458,·2658], |
32540 | ········"1100":·[149,·1517], | 32539 | ········"1100":·[149,·1517], |
32541 | ········"1101":·2460, | 32540 | ········"1101":·2460, |
32542 | ········"1109":·466, | 32541 | ········"1109":·466, |
32543 | ········"110m":·418, | 32542 | ········"110m":·418, |
32544 | ········"111":·[2460,·2629], | 32543 | ········"111":·[2460,·2629], |
32545 | ········"11100":·155, | 32544 | ········"11100":·155, |
32546 | ········"11101":·[147,·153], | 32545 | ········"11101":·[147,·153], |
Offset 32665, 15 lines modified | Offset 32664, 15 lines modified | ||
32665 | ········"123456789a12":·25, | 32664 | ········"123456789a12":·25, |
32666 | ········"123456789a123456789b":·25, | 32665 | ········"123456789a123456789b":·25, |
32667 | ········"1234567e":·2170, | 32666 | ········"1234567e":·2170, |
32668 | ········"12346":·2459, | 32667 | ········"12346":·2459, |
32669 | ········"1235":·2089, | 32668 | ········"1235":·2089, |
32670 | ········"123abc":·[311,·314,·2129,·2132], | 32669 | ········"123abc":·[311,·314,·2129,·2132], |
32671 | ········"124":·[107,·904], | 32670 | ········"124":·[107,·904], |
32672 | ········"125":·[479,·659,·1113,·1141,·1643,·1649,·1897,·1898,·2237,·2336,·2379,·2426,·2457,·2488,·2651,·2658], | 32671 | ········"125":·[479,·659,·1113,·1141,·1643,·1649,·1897,·1898,·2237,·2336,·2379,·2426,·2457,·2458,·2488,·2651,·2658], |
32673 | ········"12589991e":·644, | 32672 | ········"12589991e":·644, |
32674 | ········"126":·[862,·1047,·1115,·1902], | 32673 | ········"126":·[862,·1047,·1115,·1902], |
32675 | ········"1261":·2609, | 32674 | ········"1261":·2609, |
32676 | ········"12658":·2557, | 32675 | ········"12658":·2557, |
32677 | ········"12697628":·2627, | 32676 | ········"12697628":·2627, |
32678 | ········"127":·[62,·66,·523,·862,·1047,·1101,·1115,·1902,·2298,·2299,·2459,·2460,·2461,·2580,·2631], | 32677 | ········"127":·[62,·66,·523,·862,·1047,·1101,·1115,·1902,·2298,·2299,·2459,·2460,·2461,·2580,·2631], |
32679 | ········"12736":·[2545,·2546], | 32678 | ········"12736":·[2545,·2546], |
Offset 32745, 23 lines modified | Offset 32744, 23 lines modified | ||
32745 | ········"13823":·2549, | 32744 | ········"13823":·2549, |
32746 | ········"13829":·2557, | 32745 | ········"13829":·2557, |
32747 | ········"1383":·2609, | 32746 | ········"1383":·2609, |
32748 | ········"13845":·2549, | 32747 | ········"13845":·2549, |
32749 | ········"13867":·2549, | 32748 | ········"13867":·2549, |
32750 | ········"1387":·2609, | 32749 | ········"1387":·2609, |
32751 | ········"13899":·2557, | 32750 | ········"13899":·2557, |
32752 | ········"139":· | 32751 | ········"139":·654, |
32753 | ········"13905":·2549, | 32752 | ········"13905":·2549, |
32754 | ········"13933":·2549, | 32753 | ········"13933":·2549, |
32755 | ········"13984":·2549, | 32754 | ········"13984":·2549, |
32756 | ········"13994":·2549, | 32755 | ········"13994":·2549, |
32757 | ········"13d7934":·13, | 32756 | ········"13d7934":·13, |
32758 | ········"13j":·1913, | 32757 | ········"13j":·1913, |
32759 | ········"14":·[9,·47,·54,·55,·56,·57,·58,·59,·107,·116,·117,·123,·149,·150,·151,·279,·375,·376,·384,·445,·469,·485,·494,·495,·522,·539,·551,·553,·555,·575,·644,·649,·654,·668,·879,·892,·904,·962,·967,·968,·1068,·1082,·1142,·1149,·1228,·1245,·1310,·1464,·1563,·1575,·1584,·1693,·1702,·1709,·1756,·1762,·1865,·1871,·1984,·2084,·2087,·2089,·2113,·2203,·2204,·2206,·2207,·2208,·2220,·2222,·2223,·2235,·2238,·2243,·2330,·2335,·2339,·2374,·2378,·2382,·2421,·2425,·2429,·2454,·2458,·2460,·2487,·2510,·2516,·2528,·2539,·2540,·2541,·2542,·2543,·2544,·2550,·2551,·2556,·2557,·2558,·2563,·2569,·2573,·2580,·2581,·2582,·2583,·2585,·2588,·2593,·2596,·2597,·2619,·2624,·2627,·2630,·2633,·2637,·2645,·2649,·2651,·2658], | 32758 | ········"14":·[9,·47,·54,·55,·56,·57,·58,·59,·107,·116,·117,·123,·149,·150,·151,·279,·375,·376,·384,·445,·469,·485,·494,·495,·522,·539,·551,·553,·555,·575,·644,·649,·654,·668,·879,·892,·904,·962,·967,·968,·1068,·1082,·1142,·1149,·1228,·1245,·1310,·1464,·1563,·1575,·1584,·1693,·1702,·1709,·1756,·1762,·1865,·1871,·1984,·2084,·2087,·2089,·2113,·2203,·2204,·2206,·2207,·2208,·2220,·2222,·2223,·2235,·2238,·2243,·2330,·2335,·2339,·2374,·2378,·2382,·2421,·2425,·2429,·2454,·2458,·2460,·2487,·2510,·2516,·2528,·2539,·2540,·2541,·2542,·2543,·2544,·2550,·2551,·2556,·2557,·2558,·2563,·2569,·2573,·2580,·2581,·2582,·2583,·2585,·2588,·2593,·2596,·2597,·2619,·2624,·2627,·2630,·2633,·2637,·2645,·2649,·2651,·2658], |
32760 | ········"140":·[2236,·2573], | 32759 | ········"140":·[2236,·2458,·2573], |
32761 | ········"14022471":·[2384,·2431], | 32760 | ········"14022471":·[2384,·2431], |
32762 | ········"14036":·2557, | 32761 | ········"14036":·2557, |
32763 | ········"14039":·2557, | 32762 | ········"14039":·2557, |
32764 | ········"14042":·2549, | 32763 | ········"14042":·2549, |
32765 | ········"14043":·2549, | 32764 | ········"14043":·2549, |
32766 | ········"14044":·2549, | 32765 | ········"14044":·2549, |
32767 | ········"14045":·2549, | 32766 | ········"14045":·2549, |
Offset 32928, 15 lines modified | Offset 32927, 15 lines modified | ||
32928 | ········"1500000":·2627, | 32927 | ········"1500000":·2627, |
32929 | ········"15006":·2585, | 32928 | ········"15006":·2585, |
32930 | ········"15012":·2557, | 32929 | ········"15012":·2557, |
32931 | ········"15028c96":·2660, | 32930 | ········"15028c96":·2660, |
32932 | ········"15038":·2556, | 32931 | ········"15038":·2556, |
32933 | ········"15067":·2556, | 32932 | ········"15067":·2556, |
32934 | ········"15068":·2557, | 32933 | ········"15068":·2557, |
32935 | ········"151":·[2355,·2402,·2452,·2460], | 32934 | ········"151":·[2355,·2402,·2452,·2458,·2460], |
32936 | ········"15113":·2557, | 32935 | ········"15113":·2557, |
Max diff block lines reached; 50042/56869 bytes (88.00%) of diff not shown. |