Chinese terminology: Difference between revisions
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 9: | Line 9: | ||
! Primary term !! Description !! Translation !! Sample Code !! Explanation | ! Primary term !! Description !! Translation !! Sample Code !! Explanation | ||
|- | |- | ||
| [[Index Generator]] || Monadic <syntaxhighlight lang=apl inline>⍳</ | | [[Index Generator]] || Monadic <syntaxhighlight lang=apl inline>⍳</syntaxhighlight> 单 || 数列 || <syntaxhighlight lang=apl inline>⍳6</syntaxhighlight> || 数列6 | ||
|- | |- | ||
| [[Index of]] || Dyadic <syntaxhighlight lang=apl inline>⍳</ | | [[Index of]] || Dyadic <syntaxhighlight lang=apl inline>⍳</syntaxhighlight> 双 || 位置 || <syntaxhighlight lang=apl inline>'abcd' ⍳ 'ac'</syntaxhighlight> || 'abcd' 位置 'ac' | ||
|- | |- | ||
| [[Shape]] || Monadic <syntaxhighlight lang=apl inline>⍴</ | | [[Shape]] || Monadic <syntaxhighlight lang=apl inline>⍴</syntaxhighlight> 单 || 形状 || <syntaxhighlight lang=apl inline>⍴⍳6</syntaxhighlight> || 形状 数列6 | ||
|- | |- | ||
| [[Reshape]] || Dyadic <syntaxhighlight lang=apl inline>⍴</ | | [[Reshape]] || Dyadic <syntaxhighlight lang=apl inline>⍴</syntaxhighlight> 双 || 重塑 || <syntaxhighlight lang=apl inline>3 2 ⍴ ⍳6</syntaxhighlight> || 3 2 重塑 数列6 | ||
|- | |- | ||
| [[Split]] || Monadic <syntaxhighlight lang=apl inline>↓</ | | [[Split]] || Monadic <syntaxhighlight lang=apl inline>↓</syntaxhighlight> 单 || 拆分 || <syntaxhighlight lang=apl inline>↓3 2⍴⍳6</syntaxhighlight> || 拆分 3 2 重塑 数列6 | ||
|- | |- | ||
| [[Drop]] || Dyadic <syntaxhighlight lang=apl inline>↓</ | | [[Drop]] || Dyadic <syntaxhighlight lang=apl inline>↓</syntaxhighlight> 双 || 去头 || <syntaxhighlight lang=apl inline>2↓⍳6</syntaxhighlight> || 2 去头 数列6 | ||
|- | |- | ||
| [[Assignment]] || Monadic <syntaxhighlight lang=apl inline>←</ | | [[Assignment]] || Monadic <syntaxhighlight lang=apl inline>←</syntaxhighlight> 单 || 置为 || <syntaxhighlight lang=apl inline>R←⍳6</syntaxhighlight> || R 置为 数列6 | ||
|- | |- | ||
| [[Conjugate]] || Monadic <syntaxhighlight lang=apl inline>+</ | | [[Conjugate]] || Monadic <syntaxhighlight lang=apl inline>+</syntaxhighlight> 单 || 共轭 || <syntaxhighlight lang=apl inline>+ 1.2 0j4 ¯5j¯6</syntaxhighlight> || 共轭 1.2 0j4 ¯5j¯6 | ||
|- | |- | ||
| [[Plus]] || Dyadic <syntaxhighlight lang=apl inline>+</ | | [[Plus]] || Dyadic <syntaxhighlight lang=apl inline>+</syntaxhighlight> 双 || 相加 || <syntaxhighlight lang=apl inline>1 2 3 + 10</syntaxhighlight> || 1 2 3 相加 10 | ||
|- | |- | ||
| [[Windowed Reduce]] || Monadic <syntaxhighlight lang=apl inline>f/</ | | [[Windowed Reduce]] || Monadic <syntaxhighlight lang=apl inline>f/</syntaxhighlight> 单 || 归约 || <syntaxhighlight lang=apl inline>2 +/ 1 2 3</syntaxhighlight> || 2 相加 归约 1 2 3 | ||
|- | |- | ||
| [[Replicate]] || Dyadic <syntaxhighlight lang=apl inline>/</ | | [[Replicate]] || Dyadic <syntaxhighlight lang=apl inline>/</syntaxhighlight> 双 || 复刻 || <syntaxhighlight lang=apl inline>1 0 1 / '你好啊'</syntaxhighlight> || 1 0 1 复刻 '你好啊' | ||
|- | |- | ||
| [[Signum]] || Monadic <syntaxhighlight lang=apl inline>×</ | | [[Signum]] || Monadic <syntaxhighlight lang=apl inline>×</syntaxhighlight> 单 || 朝向 || <syntaxhighlight lang=apl inline>×3 0 ¯5</syntaxhighlight> || 朝向 3 0 ¯5 | ||
|- | |- | ||
| [[Multiply]] || Dyadic <syntaxhighlight lang=apl inline>×</ | | [[Multiply]] || Dyadic <syntaxhighlight lang=apl inline>×</syntaxhighlight> 双 || 相乘 || <syntaxhighlight lang=apl inline>2 ¯3 4.5 × ¯3 ¯4 2</syntaxhighlight> || 2 ¯3 4.5 相乘 ¯3 ¯4 2 | ||
|- | |- | ||
| [[Outer product]] || Dyadic <syntaxhighlight lang=apl inline>∘.</ | | [[Outer product]] || Dyadic <syntaxhighlight lang=apl inline>∘.</syntaxhighlight> 双 || 两两 || <syntaxhighlight lang=apl inline>R∘.×R</syntaxhighlight> || R 两两 相乘 R | ||
|- | |- | ||
| [[Enlist]] || Monadic <syntaxhighlight lang=apl inline>∊</ | | [[Enlist]] || Monadic <syntaxhighlight lang=apl inline>∊</syntaxhighlight> 单 || 列出 || <syntaxhighlight lang=apl inline>(1 2 1) (2 1 2)</syntaxhighlight> || 列出 (1 2 1) (2 1 2) | ||
|- | |- | ||
| [[Membership]] || Dyadic <syntaxhighlight lang=apl inline>∊</ | | [[Membership]] || Dyadic <syntaxhighlight lang=apl inline>∊</syntaxhighlight> 双 || 属于 || <syntaxhighlight lang=apl inline>'没啥' 4 ∊ 4 '没' '没啥啊'</syntaxhighlight> || '没啥' 4 属于 4 '没' '没啥啊' | ||
|- | |- | ||
| [[Not]] || Monadic <syntaxhighlight lang=apl inline>~</ | | [[Not]] || Monadic <syntaxhighlight lang=apl inline>~</syntaxhighlight> 单 || 取反 || <syntaxhighlight lang=apl inline>~ 0 1 0 0</syntaxhighlight> || 取反 0 1 0 0 | ||
|- | |- | ||
| [[Without]] || Dyadic <syntaxhighlight lang=apl inline>~</ | | [[Without]] || Dyadic <syntaxhighlight lang=apl inline>~</syntaxhighlight> 双 || 剔除 || <syntaxhighlight lang=apl inline>3 1 4 1 5 ~ 5 1</syntaxhighlight> || 3 1 4 1 5 剔除 5 1 | ||
|} | |} | ||
{{APL development}}[[Category:Lists]] | {{APL development}}[[Category:Lists]] |
Latest revision as of 21:47, 10 September 2022
While written APL is mostly symbolic, facilitating communication of thought across human language barriers, instructional text and verbal conveying of APL subjects requires human language translations of the glyphs and primitives etc. This article attempts to provide a standard for Chinese terminology used in such contexts, to ease the burden of translators, assist speakers, and in general lessen the risk of misunderstandings in conversation.
Translations
This list is incomplete. Please edit this page to contribute. The primary English term is the corresponding article name (which should be linked) if an article exists. Use the Discussion page to remark about translations you disagree with, or to provide suggestions for otherwise improving this page. When a translation has historical or external precedent, please add a reference to that.
In the below, 单 refers to 单参数 (monadic usage) and 双 refers to 双参数 (dyadic usage).
Primary term | Description | Translation | Sample Code | Explanation |
---|---|---|---|---|
Index Generator | Monadic ⍳ 单 |
数列 | ⍳6 |
数列6 |
Index of | Dyadic ⍳ 双 |
位置 | 'abcd' ⍳ 'ac' |
'abcd' 位置 'ac' |
Shape | Monadic ⍴ 单 |
形状 | ⍴⍳6 |
形状 数列6 |
Reshape | Dyadic ⍴ 双 |
重塑 | 3 2 ⍴ ⍳6 |
3 2 重塑 数列6 |
Split | Monadic ↓ 单 |
拆分 | ↓3 2⍴⍳6 |
拆分 3 2 重塑 数列6 |
Drop | Dyadic ↓ 双 |
去头 | 2↓⍳6 |
2 去头 数列6 |
Assignment | Monadic ← 单 |
置为 | R←⍳6 |
R 置为 数列6 |
Conjugate | Monadic + 单 |
共轭 | + 1.2 0j4 ¯5j¯6 |
共轭 1.2 0j4 ¯5j¯6 |
Plus | Dyadic + 双 |
相加 | 1 2 3 + 10 |
1 2 3 相加 10 |
Windowed Reduce | Monadic f/ 单 |
归约 | 2 +/ 1 2 3 |
2 相加 归约 1 2 3 |
Replicate | Dyadic / 双 |
复刻 | 1 0 1 / '你好啊' |
1 0 1 复刻 '你好啊' |
Signum | Monadic × 单 |
朝向 | ×3 0 ¯5 |
朝向 3 0 ¯5 |
Multiply | Dyadic × 双 |
相乘 | 2 ¯3 4.5 × ¯3 ¯4 2 |
2 ¯3 4.5 相乘 ¯3 ¯4 2 |
Outer product | Dyadic ∘. 双 |
两两 | R∘.×R |
R 两两 相乘 R |
Enlist | Monadic ∊ 单 |
列出 | (1 2 1) (2 1 2) |
列出 (1 2 1) (2 1 2) |
Membership | Dyadic ∊ 双 |
属于 | '没啥' 4 ∊ 4 '没' '没啥啊' |
'没啥' 4 属于 4 '没' '没啥啊' |
Not | Monadic ~ 单 |
取反 | ~ 0 1 0 0 |
取反 0 1 0 0 |
Without | Dyadic ~ 双 |
剔除 | 3 1 4 1 5 ~ 5 1 |
3 1 4 1 5 剔除 5 1 |
APL development [edit] | |
---|---|
Interface | Session ∙ Typing glyphs (on Linux) ∙ Fonts ∙ Text editors |
Publications | Introductions ∙ Learning resources ∙ Simple examples ∙ Advanced examples ∙ Mnemonics ∙ ISO 8485:1989 ∙ ISO/IEC 13751:2001 ∙ A Dictionary of APL ∙ Case studies ∙ Documentation suites ∙ Books ∙ Papers ∙ Videos ∙ APL Quote Quad ∙ Vector journal ∙ Terminology (Chinese, German) ∙ Neural networks ∙ Error trapping with Dyalog APL (in forms) |
Sharing code | Backwards compatibility ∙ APLcart ∙ APLTree ∙ APL-Cation ∙ Dfns workspace ∙ Tatin ∙ Cider |
Implementation | Resources ∙ Open-source ∙ Magic function ∙ Performance ∙ APL hardware |
Developers | Timeline of corporations ∙ APL2000 ∙ Dyalog ∙ IBM ∙ IPSA ∙ STSC |