diff options
Diffstat (limited to 'docs/help/sign_multiply.html')
| -rw-r--r-- | docs/help/sign_multiply.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/help/sign_multiply.html b/docs/help/sign_multiply.html new file mode 100644 index 00000000..e6eaf594 --- /dev/null +++ b/docs/help/sign_multiply.html @@ -0,0 +1,27 @@ +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> + <title>BQN: Times (`×`)</title> +</head> +<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> +<h1 id="times-"><a class="header" href="#times-">Times (<code><span class='Function'>×</span></code>)</a></h1> +<h2 id="--sign--"><a class="header" href="#--sign--"><code><span class='Function'>×</span> <span class='Value'>𝕩</span></code>: Sign</a></h2> +<p>Sign of <code><span class='Value'>𝕩</span></code>.</p> +<ul> +<li><code><span class='Number'>¯1</span></code> if <code><span class='Value'>𝕩</span> <span class='Function'><</span> <span class='Number'>0</span></code></li> +<li><code><span class='Number'>0</span></code> if <code><span class='Value'>𝕩</span> <span class='Function'>=</span> <span class='Number'>0</span></code></li> +<li><code><span class='Number'>1</span></code> if <code><span class='Value'>𝕩</span> <span class='Function'>></span> <span class='Number'>0</span></code></li> +</ul> +<p><a href="https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion">Pervasive.</a></p> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICDDlyDCrzXigL8w4oC/NeKAvzE=">↗️</a><pre> <span class='Function'>×</span> <span class='Number'>¯5</span><span class='Ligature'>‿</span><span class='Number'>0</span><span class='Ligature'>‿</span><span class='Number'>5</span><span class='Ligature'>‿</span><span class='Number'>1</span> +⟨ ¯1 0 1 1 ⟩ +</pre> +<h2 id="---multiply"><a class="header" href="#---multiply"><code><span class='Value'>𝕨</span> <span class='Function'>×</span> <span class='Value'>𝕩</span></code>: Multiply</a></h2> +<h2 id="-multiplied-by-"><a class="header" href="#-multiplied-by-"><code><span class='Value'>𝕨</span></code> multiplied by <code><span class='Value'>𝕩</span></code>.</a></h2> +<p><a href="https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion">Pervasive.</a></p> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAxIMOXIDIKCiAgMiDDlyAy4oC/M+KAvzQ=">↗️</a><pre> <span class='Number'>1</span> <span class='Function'>×</span> <span class='Number'>2</span> +2 + + <span class='Number'>2</span> <span class='Function'>×</span> <span class='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>4</span> +⟨ 4 6 8 ⟩ +</pre> |
