Skip to content

Commit

Permalink
Deploy: 5cdcf75
Browse files Browse the repository at this point in the history
  • Loading branch information
array-api-bot committed Dec 12, 2024
1 parent 67382c6 commit f349b93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ <h1 id="api-specification-generated-array-api-cumulative-sum--page-root">cumulat
<dl class="field-list">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<em>array</em>) – input array. Should have a numeric data type.</p></li>
<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>
<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>
<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>
</p></li>
Expand All @@ -493,6 +493,9 @@ <h1 id="api-specification-generated-array-api-cumulative-sum--page-root">cumulat
</dd>
</dl>
<p class="rubric">Notes</p>
<ul class="simple">
<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>
</ul>
<p><strong>Special Cases</strong></p>
<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>
<div class="versionadded">
Expand Down
2 changes: 1 addition & 1 deletion draft/searchindex.js

Large diffs are not rendered by default.

0 comments on commit f349b93

Please sign in to comment.