数组 x 的索引 n 处的项目值的惯用 J

Idiomatic J for value of item at index n of array x

在 J 语言中,惯用的 单词或短语与 return 数组 x 的索引 n 处的项的值是什么? {:: 的文档似乎与盒装值有关,事后才提到普通数组。

    nth =: {:: NB. This is what I have found, but is there a better word?
    2 nth 5 12 73 23 89
73
    1 nth 3 3 $ i.9
3 4 5

您正在寻找来自 ({) 的。它 returns 项来自数组

   2 { 5 12 73 23 89
73
   2 4 { 5 12 73 23 89
73 89
   2 { i. 4 5
10 11 12 13 14

来自的一些参考: