From e4a11831dc5c158e978e6d67a5717c55056aad73 Mon Sep 17 00:00:00 2001 From: asmeurer Date: Tue, 21 Nov 2023 07:10:28 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Quansigh?= =?UTF-8?q?t-Labs/ndindex@bdb7edbc944230c462f60af98401d436f7c64960=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api.html | 10 +++++----- changelog.html | 4 ++-- genindex.html | 4 ++-- index.html | 4 ++-- search.html | 4 ++-- slices.html | 4 ++-- style-guide.html | 4 ++-- type-confusion.html | 4 ++-- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/api.html b/api.html index d4432eaf..4d44c89d 100644 --- a/api.html +++ b/api.html @@ -1,11 +1,11 @@ - + - + API Reference - ndindex documentation @@ -2675,7 +2675,7 @@

Index Helpersnp.ndindex() function (which otherwise has no relation). +

This is a generalization of the NumPy np.ndindex() function (which otherwise has no relation). np.ndindex() only iterates indices for a single shape, whereas iter_indices() supports generating indices for multiple broadcast compatible shapes at once. This is equivalent to first broadcasting the @@ -2752,7 +2752,7 @@

Index Helpersnp.broadcast_shapes() is +function np.broadcast_shapes() is useful here).

>>> np.broadcast_shapes((1, 3), (2, 1))
 (2, 3)
@@ -2772,7 +2772,7 @@ 

Index Helpers ndindex.broadcast_shapes(*shapes, skip_axes=())#

Broadcast the input shapes shapes to a single shape.

-

This is the same as np.broadcast_shapes(), except is also supports skipping axes in the +

This is the same as np.broadcast_shapes(), except is also supports skipping axes in the shape with skip_axes.

If the shapes are not broadcast compatible (excluding skip_axes), BroadcastError is raised.

diff --git a/changelog.html b/changelog.html index 0f815862..bf85bf52 100644 --- a/changelog.html +++ b/changelog.html @@ -1,11 +1,11 @@ - + - + ndindex Changelog - ndindex documentation diff --git a/genindex.html b/genindex.html index 015523ce..36a2212c 100644 --- a/genindex.html +++ b/genindex.html @@ -1,10 +1,10 @@ - + - Index - ndindex documentation + Index - ndindex documentation diff --git a/index.html b/index.html index df43748a..faef9b88 100644 --- a/index.html +++ b/index.html @@ -1,11 +1,11 @@ - + - + ndindex documentation diff --git a/search.html b/search.html index 8b9577e8..6266a940 100644 --- a/search.html +++ b/search.html @@ -1,10 +1,10 @@ - + - Search - ndindex documentation + Search - ndindex documentation diff --git a/slices.html b/slices.html index 8dfcec2b..74ff7022 100644 --- a/slices.html +++ b/slices.html @@ -1,11 +1,11 @@ - + - + Slices - ndindex documentation diff --git a/style-guide.html b/style-guide.html index e172c9b0..1fa1724e 100644 --- a/style-guide.html +++ b/style-guide.html @@ -1,11 +1,11 @@ - + - + Documentation Style Guide - ndindex documentation diff --git a/type-confusion.html b/type-confusion.html index 09fa8b31..cf22bae2 100644 --- a/type-confusion.html +++ b/type-confusion.html @@ -1,11 +1,11 @@ - + - + Type Confusion - ndindex documentation