Symbol Iota: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
(expanded)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<h1> {iota} &mdash; (Replace this with Meaning of symbol) &mdash; Keystroke ?ALT+X &mdash; Character 0000</h1>
<h1> {iota} &mdash; iota or index; Keystroke ALT+i ; Character (⎕UCS) 9075</h1>
==Usage==
==Usage==
==Example==
 
Monadic use:
* [[Index Generator]]:  <apll>⍳R</apll>
 
Dyadic use:
* [[Index Of]]:  <apll>L⍳R</apll>
 
==Examples==
 
<pre>
      ⍳20    ⍝ Monadic example, generate the set of integers 1 through 20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
 
      'ABCDEFG' ⍳ 'BG'    ⍝ Dyadic example, find/lookup the letters B and G in the string 'ABCDEFG' (pos 1 = A, pos 2 = B, ... pos 7 = G)
2 7                                ⍝ Results found at positions 2 and 7 of string 'ABCDEFG'
</pre>
==See Also==
==See Also==
* [[Index Generator]]:  <apll>⍳R</apll>
* [[Index Of]]:  <apll>L⍳R</apll>


 
* [[Array Lookup]]:  <apll>L⍸R</apll>
* [[Find]]:  <apll>L⍷R</apll>
* [[Indexing]]:  <apll>R[L]</apll>, &nbsp;&nbsp;<apll>R[L]←A</apll>, &nbsp;&nbsp;<apll>R[L]<i>f</i>←A</apll>, &nbsp;&nbsp;<apll>L⌷R</apll>, &nbsp;&nbsp;<apll>L⍉R</apll>, &nbsp;&nbsp; <apll>L⊃R</apll>
* [[Indices]]:  <apll>⍸R</apll>


{{Language Toolbar}}
{{Language Toolbar}}
[[Category:Mouse Group 7|I]]
[[Category:Mouse Group 7|I]]
[[Category:Symbols|I]]
[[Category:Symbols|I]]

Revision as of 18:27, 8 February 2016

⍳ — iota or index; Keystroke ALT+i ; Character (⎕UCS) 9075

Usage

Monadic use:

Dyadic use:

Examples

      ⍳20     ⍝ Monadic example, generate the set of integers 1 through 20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

      'ABCDEFG' ⍳ 'BG'    ⍝ Dyadic example, find/lookup the letters B and G in the string 'ABCDEFG' (pos 1 = A, pos 2 = B, ... pos 7 = G)
2 7                                 ⍝ Results found at positions 2 and 7 of string 'ABCDEFG'

See Also

NARS 2000 Lang
Tool
Bar
+ - × ÷ * ! ? |
< = >
~ § π .. ,
/ \ ¨ .
_ ¯
Second Row i j k i j k l g p r v x