APL / APLX - Omega (⍵) 有什么作用?

APL / APLX - What does the Omega (⍵) do?

我正在通过 APLX 学习 APL。我看到很多使用 omega 字符的代码,但每当我试图查找它的含义时,我找不到任何信息。 APLX documentation mentions it, yet it appears in some of the sample code in the very same files. Additionally, the Wikipedia article on APL Syntax and Symbols 的 None 在示例代码块中使用了 ⍵,但没有解释 ⍵ 的作用。

欧米茄在 APLX 中还有意义吗?如果不是,它在其他版本的 APL 中是什么意思?

我不能代表 APLX,我是 Dyalog-User. In Dyalog APL, (0mega) is used in the context of dfns (dynamic functions) 作为 dfn 正确参数的占位符。 (并且 用于左 arg)。 示例:

      mean←{(+/⍵)÷⍴⍵}
      mean¨(2 3)(4 5)
 2.5  4.5

在 APL dfn 中,omega 代表正确的参数。

square←{⍵×⍵} square 5 25 2 square 3 9

在 Polivka, Raymond, P. 1975 "APL: the language and it's usage" ISBN:0-13-038885-8 中,欧米茄和阿尔法在第 500 页显示为 "undefined"。因此我想可以通常在 APL 中将它们用作变量名。

正确的论点。这是函数的正确参数。