Index Of: Difference between revisions

Jump to navigation Jump to search
216 bytes added ,  02:51, 17 July 2021
m (Text replacement - " ⊢( *[^∘])" to " ⎕←$1")
(→‎Documentation: BQN link)
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
:''This page is about lookups. See [[Indexing]], [[Indices]], [[Index Generator]], and [[Interval Index]] for other operations named after indices.''
{{Built-in|Index Of|⍳}} is a [[dyadic]] [[primitive function]] which returns an array of [[index|indices]] where each item in the right [[argument]] appears in the left argument. If some item is not found, the corresponding index returned is one higher than the last index of the left argument. Index Of shares its [[glyph]] <source lang=apl inline>⍳</source> with the monadic primitive function [[Index Generator]].
{{Built-in|Index Of|⍳}} is a [[dyadic]] [[primitive function]] which returns an array of [[index|indices]] where each item in the right [[argument]] appears in the left argument. If some item is not found, the corresponding index returned is one higher than the last index of the left argument. Index Of shares its [[glyph]] <source lang=apl inline>⍳</source> with the monadic primitive function [[Index Generator]].


Line 56: Line 57:
=== Documentation ===
=== Documentation ===


* [http://help.dyalog.com/latest/#Language/Primitive%20Functions/Index%20Of.htm Dyalog]
* [https://help.dyalog.com/latest/#Language/Primitive%20Functions/Index%20Of.htm Dyalog]
* [http://wiki.nars2000.org/index.php/Index_Of NARS2000]
* [http://wiki.nars2000.org/index.php/Index_Of NARS2000]
* [http://microapl.com/apl_help/ch_020_020_160.htm APLX]
* [http://microapl.com/apl_help/ch_020_020_160.htm APLX]
* J [https://www.jsoftware.com/help/dictionary/didot.htm Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/idot#dyadic Nuvoc]
* J [https://www.jsoftware.com/help/dictionary/didot.htm Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/idot#dyadic Nuvoc]
* [https://mlochbaum.github.io/BQN/doc/search.html#index-of BQN]


{{APL built-ins}}[[Category:Primitive functions]]
{{APL built-ins}}[[Category:Primitive functions]]

Navigation menu