Skip to content

Commit

Permalink
Deploying to gh-pages from @ bdb7edb 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Nov 21, 2023
1 parent 4b235ea commit e4a1183
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions api.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!doctype html>
<html class="no-js" lang="en">
<html class="no-js" lang="en" data-content_root="./">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Slices" href="slices.html" /><link rel="prev" title="ndindex" href="index.html" />

<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.2 and Furo 2023.08.17 -->
<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>API Reference - ndindex documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=16cf08d2" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
Expand Down Expand Up @@ -2675,7 +2675,7 @@ <h2>Index Helpers<a class="headerlink" href="#index-helpers" title="Link to this
compatible along the non-skipped axes. Each iteration step will produce a
tuple of indices, one for each shape, which would correspond to the same
elements if the arrays of the given shapes were first broadcast together.</p>
<p>This is a generalization of the NumPy <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.ndindex.html#numpy.ndindex" title="(in NumPy v1.25)"><code class="xref py py-class docutils literal notranslate"><span class="pre">np.ndindex()</span></code></a> function (which otherwise has no relation).
<p>This is a generalization of the NumPy <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.ndindex.html#numpy.ndindex" title="(in NumPy v1.26)"><code class="xref py py-class docutils literal notranslate"><span class="pre">np.ndindex()</span></code></a> function (which otherwise has no relation).
<code class="code docutils literal notranslate"><span class="pre">np.ndindex()</span></code> only iterates indices for a single shape, whereas
<code class="code docutils literal notranslate"><span class="pre">iter_indices()</span></code> supports generating indices for multiple broadcast
compatible shapes at once. This is equivalent to first broadcasting the
Expand Down Expand Up @@ -2752,7 +2752,7 @@ <h2>Index Helpers<a class="headerlink" href="#index-helpers" title="Link to this
</div>
<p>To include an index into the final broadcasted array, you can simply
include the final broadcasted shape as one of the shapes (the NumPy
function <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.broadcast_shapes.html#numpy.broadcast_shapes" title="(in NumPy v1.25)"><code class="xref py py-func docutils literal notranslate"><span class="pre">np.broadcast_shapes()</span></code></a> is
function <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.broadcast_shapes.html#numpy.broadcast_shapes" title="(in NumPy v1.26)"><code class="xref py py-func docutils literal notranslate"><span class="pre">np.broadcast_shapes()</span></code></a> is
useful here).</p>
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">np</span><span class="o">.</span><span class="n">broadcast_shapes</span><span class="p">((</span><span class="mi">1</span><span class="p">,</span> <span class="mi">3</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="go">(2, 3)</span>
Expand All @@ -2772,7 +2772,7 @@ <h2>Index Helpers<a class="headerlink" href="#index-helpers" title="Link to this
<dt class="sig sig-object py" id="ndindex.broadcast_shapes">
<span class="sig-prename descclassname"><span class="pre">ndindex.</span></span><span class="sig-name descname"><span class="pre">broadcast_shapes</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">shapes</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">skip_axes</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">()</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#ndindex.broadcast_shapes" title="Link to this definition">#</a></dt>
<dd><p>Broadcast the input shapes <code class="code docutils literal notranslate"><span class="pre">shapes</span></code> to a single shape.</p>
<p>This is the same as <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.broadcast_shapes.html#numpy.broadcast_shapes" title="(in NumPy v1.25)"><code class="xref py py-func docutils literal notranslate"><span class="pre">np.broadcast_shapes()</span></code></a>, except is also supports skipping axes in the
<p>This is the same as <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.broadcast_shapes.html#numpy.broadcast_shapes" title="(in NumPy v1.26)"><code class="xref py py-func docutils literal notranslate"><span class="pre">np.broadcast_shapes()</span></code></a>, except is also supports skipping axes in the
shape with <code class="code docutils literal notranslate"><span class="pre">skip_axes</span></code>.</p>
<p>If the shapes are not broadcast compatible (excluding <code class="code docutils literal notranslate"><span class="pre">skip_axes</span></code>),
<code class="code docutils literal notranslate"><span class="pre">BroadcastError</span></code> is raised.</p>
Expand Down
4 changes: 2 additions & 2 deletions changelog.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!doctype html>
<html class="no-js" lang="en">
<html class="no-js" lang="en" data-content_root="./">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Documentation Style Guide" href="style-guide.html" /><link rel="prev" title="Type Confusion" href="type-confusion.html" />

<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.2 and Furo 2023.08.17 -->
<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>ndindex Changelog - ndindex documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=16cf08d2" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
Expand Down
4 changes: 2 additions & 2 deletions genindex.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!doctype html>
<html class="no-js" lang="en">
<html class="no-js" lang="en" data-content_root="./">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="#" /><link rel="search" title="Search" href="search.html" />

<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.2 and Furo 2023.08.17 --><title>Index - ndindex documentation</title>
<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 --><title>Index - ndindex documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=16cf08d2" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!doctype html>
<html class="no-js" lang="en">
<html class="no-js" lang="en" data-content_root="./">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="API Reference" href="api.html" />

<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.2 and Furo 2023.08.17 -->
<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>ndindex documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=16cf08d2" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
Expand Down
4 changes: 2 additions & 2 deletions search.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!doctype html>
<html class="no-js" lang="en">
<html class="no-js" lang="en" data-content_root="./">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="#" />

<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.2 and Furo 2023.08.17 --><title>Search - ndindex documentation</title><link rel="stylesheet" type="text/css" href="_static/pygments.css?v=16cf08d2" />
<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 --><title>Search - ndindex documentation</title><link rel="stylesheet" type="text/css" href="_static/pygments.css?v=16cf08d2" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=36a5483c" />
Expand Down
4 changes: 2 additions & 2 deletions slices.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!doctype html>
<html class="no-js" lang="en">
<html class="no-js" lang="en" data-content_root="./">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Type Confusion" href="type-confusion.html" /><link rel="prev" title="API Reference" href="api.html" />

<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.2 and Furo 2023.08.17 -->
<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>Slices - ndindex documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=16cf08d2" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
Expand Down
4 changes: 2 additions & 2 deletions style-guide.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!doctype html>
<html class="no-js" lang="en">
<html class="no-js" lang="en" data-content_root="./">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="prev" title="ndindex Changelog" href="changelog.html" />

<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.2 and Furo 2023.08.17 -->
<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>Documentation Style Guide - ndindex documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=16cf08d2" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
Expand Down
4 changes: 2 additions & 2 deletions type-confusion.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!doctype html>
<html class="no-js" lang="en">
<html class="no-js" lang="en" data-content_root="./">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="ndindex Changelog" href="changelog.html" /><link rel="prev" title="Slices" href="slices.html" />

<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.2 and Furo 2023.08.17 -->
<link rel="shortcut icon" href="_static/favicon.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>Type Confusion - ndindex documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=16cf08d2" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
Expand Down

0 comments on commit e4a1183

Please sign in to comment.