Skip to content

Commit f349b93

Browse files
author
array-api-bot
committed
Deploy: 5cdcf75
1 parent 67382c6 commit f349b93

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

draft/API_specification/generated/array_api.cumulative_sum.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ <h1 id="api-specification-generated-array-api-cumulative-sum--page-root">cumulat
469469
<dl class="field-list">
470470
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
471471
<dd class="field-odd"><ul class="simple">
472-
<li><p><strong>x</strong> (<em>array</em>) – input array. Should have a numeric data type.</p></li>
472+
<li><p><strong>x</strong> (<em>array</em>) – input array. Should have one or more dimensions (axes). Should have a numeric data type.</p></li>
473473
<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><em>int</em><em>]</em>) – <p>axis along which a cumulative sum must be computed. If <code class="docutils literal notranslate"><span class="pre">axis</span></code> is negative, the function must determine the axis along which to compute a cumulative sum by counting from the last dimension.</p>
474474
<p>If <code class="docutils literal notranslate"><span class="pre">x</span></code> is a one-dimensional array, providing an <code class="docutils literal notranslate"><span class="pre">axis</span></code> is optional; however, if <code class="docutils literal notranslate"><span class="pre">x</span></code> has more than one dimension, providing an <code class="docutils literal notranslate"><span class="pre">axis</span></code> is required.</p>
475475
</p></li>
@@ -493,6 +493,9 @@ <h1 id="api-specification-generated-array-api-cumulative-sum--page-root">cumulat
493493
</dd>
494494
</dl>
495495
<p class="rubric">Notes</p>
496+
<ul class="simple">
497+
<li><p>When <code class="docutils literal notranslate"><span class="pre">x</span></code> is a zero-dimensional array, behavior is unspecified and thus implementation-defined.</p></li>
498+
</ul>
496499
<p><strong>Special Cases</strong></p>
497500
<p>For both real-valued and complex floating-point operands, special cases must be handled as if the operation is implemented by successive application of <a class="reference internal" href="array_api.add.html#array_api.add" title="array_api.add"><code class="xref py py-func docutils literal notranslate"><span class="pre">add()</span></code></a>.</p>
498501
<div class="versionadded">

draft/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)