Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a374213

Browse files
author
array-api-bot
committed
Deploy: 52bbfeb
1 parent 03cf5f2 commit a374213

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

draft/API_specification/generated/array_api.diff.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ <h1 id="api-specification-generated-array-api-diff--page-root">diff<a class="hea
489489
<p class="rubric">Notes</p>
490490
<ul class="simple">
491491
<li><p>The first-order differences are given by <code class="docutils literal notranslate"><span class="pre">out[i]</span> <span class="pre">=</span> <span class="pre">x[i+1]</span> <span class="pre">-</span> <span class="pre">x[i]</span></code> along a specified axis. Higher-order differences must be calculated recursively (e.g., by calling <code class="docutils literal notranslate"><span class="pre">diff(out,</span> <span class="pre">axis=axis,</span> <span class="pre">n=n-1)</span></code>).</p></li>
492+
<li><p>If a conforming implementation chooses to support <code class="docutils literal notranslate"><span class="pre">prepend</span></code> and <code class="docutils literal notranslate"><span class="pre">append</span></code> arrays which have a different data type than <code class="docutils literal notranslate"><span class="pre">x</span></code>, behavior is unspecified and thus implementation-defined. Implementations may choose to type promote (<a class="reference internal" href="../type_promotion.html#type-promotion"><span class="std std-ref">Type Promotion Rules</span></a>), cast <code class="docutils literal notranslate"><span class="pre">prepend</span></code> and/or <code class="docutils literal notranslate"><span class="pre">append</span></code> to the same data type as <code class="docutils literal notranslate"><span class="pre">x</span></code>, or raise an exception.</p></li>
492493
</ul>
493494
</dd></dl>
494495
</section>

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)