Skip to content

Commit 5974ed4

Browse files
Deploy: ca9ce57
1 parent ee1a7ce commit 5974ed4

24 files changed

+347
-354
lines changed

_modules/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<meta name="viewport" content="width=device-width,initial-scale=1"/>
55
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" />
66

7-
<!-- Generated with Sphinx 8.1.0 and Furo 2024.08.06 -->
7+
<!-- Generated with Sphinx 8.2.1 and Furo 2024.08.06 -->
88
<title>Overview: module code - mkl_random 1.2.7 documentation</title>
9-
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
9+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=8f2a1f02" />
1010
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=354aac6f" />
1111
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
1212
<link rel="stylesheet" type="text/css" href="../_static/styles/furo-extensions.css?v=302659d7" />

_static/basic.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -741,14 +741,6 @@ abbr, acronym {
741741
cursor: help;
742742
}
743743

744-
.translated {
745-
background-color: rgba(207, 255, 207, 0.2)
746-
}
747-
748-
.untranslated {
749-
background-color: rgba(255, 207, 207, 0.2)
750-
}
751-
752744
/* -- code displays --------------------------------------------------------- */
753745

754746
pre {

_static/pygments.css

Lines changed: 230 additions & 230 deletions
Large diffs are not rendered by default.

_static/searchtools.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -513,9 +513,11 @@ const Search = {
513513
// perform the search on the required terms
514514
searchTerms.forEach((word) => {
515515
const files = [];
516+
// find documents, if any, containing the query word in their text/title term indices
517+
// use Object.hasOwnProperty to avoid mismatching against prototype properties
516518
const arr = [
517-
{ files: terms[word], score: Scorer.term },
518-
{ files: titleTerms[word], score: Scorer.title },
519+
{ files: terms.hasOwnProperty(word) ? terms[word] : undefined, score: Scorer.term },
520+
{ files: titleTerms.hasOwnProperty(word) ? titleTerms[word] : undefined, score: Scorer.title },
519521
];
520522
// add support for partial matches
521523
if (word.length > 2) {
@@ -547,8 +549,9 @@ const Search = {
547549

548550
// set score for the word in each file
549551
recordFiles.forEach((file) => {
550-
if (!scoreMap.has(file)) scoreMap.set(file, {});
551-
scoreMap.get(file)[word] = record.score;
552+
if (!scoreMap.has(file)) scoreMap.set(file, new Map());
553+
const fileScores = scoreMap.get(file);
554+
fileScores.set(word, record.score);
552555
});
553556
});
554557

@@ -587,7 +590,7 @@ const Search = {
587590
break;
588591

589592
// select one (max) score for the file.
590-
const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w]));
593+
const score = Math.max(...wordList.map((w) => scoreMap.get(file).get(w)));
591594
// add result to the result list
592595
results.push([
593596
docNames[file],

genindex.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta name="viewport" content="width=device-width,initial-scale=1"/>
55
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="#" /><link rel="search" title="Search" href="search.html" />
66

7-
<!-- Generated with Sphinx 8.1.0 and Furo 2024.08.06 --><title>Index - mkl_random 1.2.7 documentation</title>
8-
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
7+
<!-- Generated with Sphinx 8.2.1 and Furo 2024.08.06 --><title>Index - mkl_random 1.2.7 documentation</title>
8+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=8f2a1f02" />
99
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=354aac6f" />
1010
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
1111
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=302659d7" />

how_to.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
66
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="mkl_random APIs" href="reference/index.html" /><link rel="prev" title="Beginner’s guide" href="tutorials.html" />
77

8-
<!-- Generated with Sphinx 8.1.0 and Furo 2024.08.06 -->
8+
<!-- Generated with Sphinx 8.2.1 and Furo 2024.08.06 -->
99
<title>How-to Guides - mkl_random 1.2.7 documentation</title>
10-
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
10+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=8f2a1f02" />
1111
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=354aac6f" />
1212
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
1313
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=302659d7" />
@@ -266,9 +266,9 @@ <h2>How to save and resume long computation<a class="headerlink" href="#how-to-s
266266
the internal state of the pseudo-random number generators.</p>
267267
<div class="literal-block-wrapper docutils container" id="id1">
268268
<div class="code-block-caption"><span class="caption-text">Saving state of pseudo-random basic random number generators</span><a class="headerlink" href="#id1" title="Link to this code"></a></div>
269-
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span> <span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
270-
<span class="kn">import</span> <span class="nn">mkl_random</span>
271-
<span class="kn">import</span> <span class="nn">pickle</span>
269+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span> <span class="kn">import</span><span class="w"> </span><span class="nn">numpy</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="nn">np</span>
270+
<span class="kn">import</span><span class="w"> </span><span class="nn">mkl_random</span>
271+
<span class="kn">import</span><span class="w"> </span><span class="nn">pickle</span>
272272

273273
<span class="n">rs</span> <span class="o">=</span> <span class="n">mkl_random</span><span class="o">.</span><span class="n">RandomState</span><span class="p">(</span><span class="n">seed</span><span class="o">=</span><span class="mi">777</span><span class="p">,</span> <span class="n">brng</span><span class="o">=</span><span class="s2">&quot;r250&quot;</span><span class="p">)</span>
274274
<span class="n">draw</span> <span class="o">=</span> <span class="n">rs</span><span class="o">.</span><span class="n">standard_normal</span><span class="p">(</span><span class="n">size</span><span class="o">=</span><span class="mi">1357913</span><span class="p">)</span>

index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
66
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Beginner’s guide" href="tutorials.html" />
77

8-
<!-- Generated with Sphinx 8.1.0 and Furo 2024.08.06 -->
8+
<!-- Generated with Sphinx 8.2.1 and Furo 2024.08.06 -->
99
<title>mkl_random 1.2.7 documentation</title>
10-
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
10+
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=8f2a1f02" />
1111
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=354aac6f" />
1212
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
1313
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=302659d7" />
@@ -368,6 +368,5 @@ <h1><code class="xref py py-mod docutils literal notranslate"><span class="pre">
368368
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
369369
<script src="_static/scripts/furo.js?v=5fa4622c"></script>
370370
<script src="_static/design-tabs.js?v=f930bc37"></script>
371-
<script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
372371
</body>
373372
</html>

maintenance/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
66
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="prev" title="ARS5 brng" href="../reference/ars5.html" />
77

8-
<!-- Generated with Sphinx 8.1.0 and Furo 2024.08.06 -->
8+
<!-- Generated with Sphinx 8.2.1 and Furo 2024.08.06 -->
99
<title>Contributing - mkl_random 1.2.7 documentation</title>
10-
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
10+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=8f2a1f02" />
1111
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=354aac6f" />
1212
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
1313
<link rel="stylesheet" type="text/css" href="../_static/styles/furo-extensions.css?v=302659d7" />

0 commit comments

Comments
 (0)