Infinity: Difference between revisions
No edit summary |
Sudleyplace (talk | contribs) No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<p>The two infinities are now valid values to be used as the upper and lower numeric limits. The infinity symbol (<apll>∞</apll>) is entered from the keyboard using the key combination '''Alt-f'''. The other infinity is obtained from the positive form by preceding it with a negative symbol (<apll>¯∞</apll>) | <p>The two infinities are now valid values to be used as the upper and lower numeric limits. The infinity symbol (<apll>∞</apll>) is entered from the keyboard using the key combination '''Alt-f'''. The other infinity is obtained from the positive form by preceding it with a negative symbol (<apll>¯∞</apll>).</p> | ||
<p>For example,</p> | <p>For example,</p> | ||
<apll> | <apll><pre> | ||
∞ | ⌊/⍬ | ||
∞ | |||
¯∞ | ⌈/⍬ | ||
¯∞ | |||
∞ | 9*999 | ||
∞ | |||
∞ | ÷0 | ||
∞ | |||
0 0 | ÷¯∞ ∞ | ||
0 0 | |||
('<',a),a⍪a∘.<a←¯∞ 0 ∞ | |||
< ¯∞ 0 ∞ | |||
¯∞ 0 1 1 | |||
0 0 0 1 | |||
∞ 0 0 0 | |||
</pre></apll> | |||
<p>< | <p>Also, see the description of the system variable [[System Variable IC|<apll>⎕IC</apll>]] (Indeterminate Control) for a way to control how infinity along with other indeterminates are handled. | ||
{{Language Toolbar}} | |||
[[Category:Mouse Group 12]] | |||
Latest revision as of 20:15, 15 April 2018
The two infinities are now valid values to be used as the upper and lower numeric limits. The infinity symbol (∞) is entered from the keyboard using the key combination Alt-f. The other infinity is obtained from the positive form by preceding it with a negative symbol (¯∞).
For example,
⌊/⍬
∞
⌈/⍬
¯∞
9*999
∞
÷0
∞
÷¯∞ ∞
0 0
('<',a),a⍪a∘.<a←¯∞ 0 ∞
< ¯∞ 0 ∞
¯∞ 0 1 1
0 0 0 1
∞ 0 0 0
Also, see the description of the system variable ⎕IC (Indeterminate Control) for a way to control how infinity along with other indeterminates are handled.
{{#ifeq:{{{en}}}|4||title="match" style="border-width:thick; border-color:blue; background-color:yellow;"|≡ {{#ifeq:{{{en}}}|7||title="iota" style="border-width:thick; border-color:blue; background-color:yellow;" |⍳ {{#ifeq:{{{en}}}|9||title="slash" style="border-width:thick; border-color:blue; background-color:yellow;" |/ {{#ifeq:{{{en}}}|11||title="diamond" style="border-width:thick; border-color:blue; background-color:yellow;" |⋄ {{#switch: {{{en}}}| NARS 2000 Lang Tool Bar {{#ifeq:{{{en}}}|1||title="assign" style="border-width:thick; border-color:blue; background-color:yellow;" |← |
→ | bgcolor=cyan | title="assign" |← | → | }}
{{#ifeq:{{{en}}}|2||title="plus" style="border-width:thick; border-color:blue; background-color:yellow;" |+ |
- | × | ÷ | * | ⍟ | ⌹ | ○ | ! | ? | √ | bgcolor=cyan | title="plus" |+ | - | × | ÷ | * | ⍟ | ⌹ | ○ | ! | ? | √ | }}
{{#ifeq:{{{en}}}|3||title="mod" style="border-width:thick; border-color:blue; background-color:yellow;" || |
⌈ | ⌊ | ⊥ | ⊤ | ⊣ | ⊢ | |||||||||||||||||||
| ⌈ | ⌊ | ⊥ | ⊤ | ⊣ | ⊢ | ||||||||||||||||||||||||||||||||||||||||||||||||
| ≢ | < | ≤ | = | ≥ | > | ≠ | bgcolor=cyan | title="match" |≡ | ≢ | < | ≤ | = | ≥ | > | ≠ | }}
{{#ifeq:{{{en}}}|5||title="down caret" style="border-width:thick; border-color:blue; background-color:yellow;" |∨ |
∧ | ⍱ | ⍲ | bgcolor=cyan | title="down caret" |∨ | ∧ | ⍱ | ⍲ | }}
{{#ifeq:{{{en}}}|6||title="take" style="border-width:thick; border-color:blue; background-color:yellow;" |↑ |
↓ | ⊂ | ⊃ | ⌷ | ⍋ | ⍒ | ||||||||||||||||||||||
| ↓ | ⊂ | ⊃ | ⌷ | ⍋ | ⍒ | ||||||||||||||||||||||||||||||||||||||||||||||||
| ∊ | ⍸ | ⍷ | ∪ | ∩ | ⊆ | ⊇ | ~ | § | π | .. | bgcolor=cyan | title="iota" |⍳ | ∊ | ⍸ | ⍷ | ∪ | ∩ | ⊆ | ⊇ | ~ | § | π | .. | }}
{{#ifeq:{{{en}}}|8||title="comma" style="border-width:thick; border-color:blue; background-color:yellow;" |, |
⍪ | ⍴ | ⌽ | ⊖ | ⍉ | ||||||||||||||||||||||||
| ⍪ | ⍴ | ⌽ | ⊖ | ⍉ | |||||||||||||||||||||||||||||||||||||||||||||||||
| \ | ⌿ | ⍀ | ⊙ | ¨ | ⍨ | ⍤ | ⍡ | ⍥ | ⍦ | . | ∘ | ⍠ | ‼ | ⌻ | ∂ | ∫ | bgcolor=cyan | title="slash" |/ | \ | ⌿ | ⍀ | ⊙ | ¨ | ⍨ | ⍤ | ⍣ | ⍡ | ⍥ | ⍦ | . | ∘ | ⍠ | ‼ | ⌻ | ∂ | ∫ | }}
{{#ifeq:{{{en}}}|10||title="quotequad" style="border-width:thick; border-color:blue; background-color:yellow;" |⍞ |
⎕ | ⍎ | ⍕ | |||||||||||||
| ⎕ | ⍎ | ⍕ | |||||||||||||||||||||||||||||||||||||||||||||||||||
| ⍝ | ∇ | ∆ | ⍙ | _ | ⍺ | ⍵ | bgcolor=cyan | title="diamond" |⋄ | ⍝ | ∇ | ∆ | ⍙ | _ | ⍺ | ⍵ | }}
{{#ifeq:{{{en}}}|12||title="neg" style="border-width:thick; border-color:blue; background-color:yellow;" |¯ |
⍬ | ∞ | title="neg" |¯ | ⍬ | ∞ | ∅ | |||||||||||||||||||||||||||||||
| colspan=8 |Second Row | i j k | a | b | e | g | p | r | v | x | z | colspan=8 |Second Row | i j k | a | b | e | g | p | r | v | x | z | colspan=8 |Second Row | i j k | a | b | e | g | p | r | v | x | z | colspan=6 |Second Row | i j k | i j k l | g | p | r | v | x
}} | |||||||||||||