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

Skip to content

Commit edc9057

Browse files
author
array-api-bot
committed
Deploy: 071780c
1 parent 4b4dc94 commit edc9057

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

draft/API_specification/generated/array_api.conj.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,13 +476,16 @@ <h1 id="api-specification-generated-array-api-conj--page-root">conj<a class="hea
476476
<p>Hence, the returned complex conjugates must be computed by negating the imaginary component of each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code>.</p>
477477
<dl class="field-list simple">
478478
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
479-
<dd class="field-odd"><p><strong>x</strong> (<em>array</em>) – input array. Should have a complex floating-point data type.</p>
479+
<dd class="field-odd"><p><strong>x</strong> (<em>array</em>) – input array. Must have a numeric data type.</p>
480480
</dd>
481481
<dt class="field-even">Returns<span class="colon">:</span></dt>
482482
<dd class="field-even"><p><strong>out</strong> (<em>array</em>) – an array containing the element-wise results. The returned array must have the same data type as <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p>
483483
</dd>
484484
</dl>
485485
<p class="rubric">Notes</p>
486+
<ul class="simple">
487+
<li><p>Whether the returned array and the input array share the same underlying memory is unspecified and thus implementation-defined.</p></li>
488+
</ul>
486489
<div class="versionadded">
487490
<p><span class="versionmodified added">New in version 2022.12.</span></p>
488491
</div>

draft/API_specification/generated/array_api.real.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,13 +468,16 @@ <h1 id="api-specification-generated-array-api-real--page-root">real<a class="hea
468468
<dd><p>Returns the real component of a complex number for each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p>
469469
<dl class="field-list simple">
470470
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
471-
<dd class="field-odd"><p><strong>x</strong> (<em>array</em>) – input array. Should have a complex floating-point data type.</p>
471+
<dd class="field-odd"><p><strong>x</strong> (<em>array</em>) – input array. Must have a numeric data type.</p>
472472
</dd>
473473
<dt class="field-even">Returns<span class="colon">:</span></dt>
474474
<dd class="field-even"><p><strong>out</strong> (<em>array</em>) – an array containing the element-wise results. The returned array must have a floating-point data type with the same floating-point precision as <code class="docutils literal notranslate"><span class="pre">x</span></code> (e.g., if <code class="docutils literal notranslate"><span class="pre">x</span></code> is <code class="docutils literal notranslate"><span class="pre">complex64</span></code>, the returned array must have the floating-point data type <code class="docutils literal notranslate"><span class="pre">float32</span></code>).</p>
475475
</dd>
476476
</dl>
477477
<p class="rubric">Notes</p>
478+
<ul class="simple">
479+
<li><p>Whether the returned array and the input array share the same underlying memory is unspecified and thus implementation-defined.</p></li>
480+
</ul>
478481
<div class="versionadded">
479482
<p><span class="versionmodified added">New in version 2022.12.</span></p>
480483
</div>

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)