Chinese terminology: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
m (Adám Brudzewsky moved page Chinese Terminology to Chinese terminology: wikipedia:WP:NCCAPS)
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 <source lang=apl inline>⍳</source> 单 || 数列 || <source lang=apl inline>⍳6</source> || 数列6
| [[Index Generator]] || Monadic <syntaxhighlight lang=apl inline>⍳</source> 单 || 数列 || <syntaxhighlight lang=apl inline>⍳6</source> || 数列6
|-
|-
| [[Index of]] || Dyadic <source lang=apl inline>⍳</source> 双 || 位置 || <source lang=apl inline>'abcd' ⍳ 'ac'</source> || 'abcd' 位置 'ac'
| [[Index of]] || Dyadic <syntaxhighlight lang=apl inline>⍳</source> 双 || 位置 || <syntaxhighlight lang=apl inline>'abcd' ⍳ 'ac'</source> || 'abcd' 位置 'ac'
|-
|-
| [[Shape]] || Monadic <source lang=apl inline>⍴</source> 单 || 形状 || <source lang=apl inline>⍴⍳6</source> || 形状 数列6
| [[Shape]] || Monadic <syntaxhighlight lang=apl inline>⍴</source> 单 || 形状 || <syntaxhighlight lang=apl inline>⍴⍳6</source> || 形状 数列6
|-
|-
| [[Reshape]] || Dyadic <source lang=apl inline>⍴</source> 双 || 重塑 || <source lang=apl inline>3 2 ⍴ ⍳6</source> || 3 2 重塑 数列6
| [[Reshape]] || Dyadic <syntaxhighlight lang=apl inline>⍴</source> 双 || 重塑 || <syntaxhighlight lang=apl inline>3 2 ⍴ ⍳6</source> || 3 2 重塑 数列6
|-
|-
| [[Split]] || Monadic <source lang=apl inline>↓</source> 单 || 拆分 || <source lang=apl inline>↓3 2⍴⍳6</source> || 拆分 3 2 重塑 数列6
| [[Split]] || Monadic <syntaxhighlight lang=apl inline>↓</source> 单 || 拆分 || <syntaxhighlight lang=apl inline>↓3 2⍴⍳6</source> || 拆分 3 2 重塑 数列6
|-
|-
| [[Drop]] || Dyadic <source lang=apl inline>↓</source> 双 || 去头 || <source lang=apl inline>2↓⍳6</source> || 2 去头 数列6
| [[Drop]] || Dyadic <syntaxhighlight lang=apl inline>↓</source> 双 || 去头 || <syntaxhighlight lang=apl inline>2↓⍳6</source> || 2 去头 数列6


|-
|-
| [[Assignment]] || Monadic <source lang=apl inline>←</source> 单 || 置为 || <source lang=apl inline>R←⍳6</source> || R 置为 数列6
| [[Assignment]] || Monadic <syntaxhighlight lang=apl inline>←</source> 单 || 置为 || <syntaxhighlight lang=apl inline>R←⍳6</source> || R 置为 数列6
|-
|-
| [[Conjugate]] || Monadic <source lang=apl inline>+</source> 单 || 共轭 || <source lang=apl inline>+ 1.2 0j4 ¯5j¯6</source> || 共轭 1.2 0j4 ¯5j¯6
| [[Conjugate]] || Monadic <syntaxhighlight lang=apl inline>+</source> 单 || 共轭 || <syntaxhighlight lang=apl inline>+ 1.2 0j4 ¯5j¯6</source> || 共轭 1.2 0j4 ¯5j¯6
|-
|-
| [[Plus]] || Dyadic <source lang=apl inline>+</source> 双 || 相加 || <source lang=apl inline>1 2 3 + 10</source> || 1 2 3 相加 10
| [[Plus]] || Dyadic <syntaxhighlight lang=apl inline>+</source> 双 || 相加 || <syntaxhighlight lang=apl inline>1 2 3 + 10</source> || 1 2 3 相加 10
|-
|-
| [[Windowed Reduce]] || Monadic <source lang=apl inline>f/</source> 单 || 归约 || <source lang=apl inline>2 +/ 1 2 3</source> || 2 相加 归约 1 2 3
| [[Windowed Reduce]] || Monadic <syntaxhighlight lang=apl inline>f/</source> 单 || 归约 || <syntaxhighlight lang=apl inline>2 +/ 1 2 3</source> || 2 相加 归约 1 2 3
|-
|-
| [[Replicate]] || Dyadic <source lang=apl inline>/</source> 双 || 复刻 || <source lang=apl inline>1 0 1 / '你好啊'</source> || 1 0 1 复刻 '你好啊'
| [[Replicate]] || Dyadic <syntaxhighlight lang=apl inline>/</source> 双 || 复刻 || <syntaxhighlight lang=apl inline>1 0 1 / '你好啊'</source> || 1 0 1 复刻 '你好啊'
|-
|-
| [[Signum]] || Monadic <source lang=apl inline>×</source> 单 || 朝向 || <source lang=apl inline>×3 0 ¯5</source> || 朝向 3 0 ¯5
| [[Signum]] || Monadic <syntaxhighlight lang=apl inline>×</source> 单 || 朝向 || <syntaxhighlight lang=apl inline>×3 0 ¯5</source> || 朝向 3 0 ¯5
|-
|-
| [[Multiply]] || Dyadic <source lang=apl inline>×</source> 双 || 相乘 || <source lang=apl inline>2 ¯3 4.5 × ¯3 ¯4 2</source> || 2 ¯3 4.5 相乘 ¯3 ¯4 2
| [[Multiply]] || Dyadic <syntaxhighlight lang=apl inline>×</source> 双 || 相乘 || <syntaxhighlight lang=apl inline>2 ¯3 4.5 × ¯3 ¯4 2</source> || 2 ¯3 4.5 相乘 ¯3 ¯4 2
|-
|-
| [[Outer product]] || Dyadic <source lang=apl inline>∘.</source> 双 || 两两 || <source lang=apl inline>R∘.×R</source> || R 两两 相乘 R  
| [[Outer product]] || Dyadic <syntaxhighlight lang=apl inline>∘.</source> 双 || 两两 || <syntaxhighlight lang=apl inline>R∘.×R</source> || R 两两 相乘 R  
|-
|-
| [[Enlist]]  || Monadic <source lang=apl inline>∊</source> 单 || 列出 || <source lang=apl inline>(1 2 1) (2 1 2)</source> || 列出 (1 2 1) (2 1 2)
| [[Enlist]]  || Monadic <syntaxhighlight lang=apl inline>∊</source> 单 || 列出 || <syntaxhighlight lang=apl inline>(1 2 1) (2 1 2)</source> || 列出 (1 2 1) (2 1 2)
|-
|-
| [[Membership]] || Dyadic <source lang=apl inline>∊</source> 双 || 属于 || <source lang=apl inline>'没啥' 4 ∊ 4 '没' '没啥啊'</source> || '没啥' 4 属于 4 '没' '没啥啊'
| [[Membership]] || Dyadic <syntaxhighlight lang=apl inline>∊</source> 双 || 属于 || <syntaxhighlight lang=apl inline>'没啥' 4 ∊ 4 '没' '没啥啊'</source> || '没啥' 4 属于 4 '没' '没啥啊'
|-
|-
| [[Not]] || Monadic <source lang=apl inline>~</source> 单 || 取反 || <source lang=apl inline>~ 0 1 0 0</source> || 取反 0 1 0 0
| [[Not]] || Monadic <syntaxhighlight lang=apl inline>~</source> 单 || 取反 || <syntaxhighlight lang=apl inline>~ 0 1 0 0</source> || 取反 0 1 0 0
|-
|-
| [[Without]] || Dyadic <source lang=apl inline>~</source> 双 || 剔除 || <source lang=apl inline>3 1 4 1 5 ~ 5 1</source> || 3 1 4 1 5 剔除 5 1
| [[Without]] || Dyadic <syntaxhighlight lang=apl inline>~</source> 双 || 剔除 || <syntaxhighlight lang=apl inline>3 1 4 1 5 ~ 5 1</source> || 3 1 4 1 5 剔除 5 1
|}
|}




{{APL development}}[[Category:Lists]]
{{APL development}}[[Category:Lists]]

Revision as of 21:13, 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 <syntaxhighlight lang=apl inline>⍳</source> 单 数列 <syntaxhighlight lang=apl inline>⍳6</source> 数列6
Index of Dyadic <syntaxhighlight lang=apl inline>⍳</source> 双 位置 <syntaxhighlight lang=apl inline>'abcd' ⍳ 'ac'</source> 'abcd' 位置 'ac'
Shape Monadic <syntaxhighlight lang=apl inline>⍴</source> 单 形状 <syntaxhighlight lang=apl inline>⍴⍳6</source> 形状 数列6
Reshape Dyadic <syntaxhighlight lang=apl inline>⍴</source> 双 重塑 <syntaxhighlight lang=apl inline>3 2 ⍴ ⍳6</source> 3 2 重塑 数列6
Split Monadic <syntaxhighlight lang=apl inline>↓</source> 单 拆分 <syntaxhighlight lang=apl inline>↓3 2⍴⍳6</source> 拆分 3 2 重塑 数列6
Drop Dyadic <syntaxhighlight lang=apl inline>↓</source> 双 去头 <syntaxhighlight lang=apl inline>2↓⍳6</source> 2 去头 数列6
Assignment Monadic <syntaxhighlight lang=apl inline>←</source> 单 置为 <syntaxhighlight lang=apl inline>R←⍳6</source> R 置为 数列6
Conjugate Monadic <syntaxhighlight lang=apl inline>+</source> 单 共轭 <syntaxhighlight lang=apl inline>+ 1.2 0j4 ¯5j¯6</source> 共轭 1.2 0j4 ¯5j¯6
Plus Dyadic <syntaxhighlight lang=apl inline>+</source> 双 相加 <syntaxhighlight lang=apl inline>1 2 3 + 10</source> 1 2 3 相加 10
Windowed Reduce Monadic <syntaxhighlight lang=apl inline>f/</source> 单 归约 <syntaxhighlight lang=apl inline>2 +/ 1 2 3</source> 2 相加 归约 1 2 3
Replicate Dyadic <syntaxhighlight lang=apl inline>/</source> 双 复刻 <syntaxhighlight lang=apl inline>1 0 1 / '你好啊'</source> 1 0 1 复刻 '你好啊'
Signum Monadic <syntaxhighlight lang=apl inline>×</source> 单 朝向 <syntaxhighlight lang=apl inline>×3 0 ¯5</source> 朝向 3 0 ¯5
Multiply Dyadic <syntaxhighlight lang=apl inline>×</source> 双 相乘 <syntaxhighlight lang=apl inline>2 ¯3 4.5 × ¯3 ¯4 2</source> 2 ¯3 4.5 相乘 ¯3 ¯4 2
Outer product Dyadic <syntaxhighlight lang=apl inline>∘.</source> 双 两两 <syntaxhighlight lang=apl inline>R∘.×R</source> R 两两 相乘 R
Enlist Monadic <syntaxhighlight lang=apl inline>∊</source> 单 列出 <syntaxhighlight lang=apl inline>(1 2 1) (2 1 2)</source> 列出 (1 2 1) (2 1 2)
Membership Dyadic <syntaxhighlight lang=apl inline>∊</source> 双 属于 <syntaxhighlight lang=apl inline>'没啥' 4 ∊ 4 '没' '没啥啊'</source> '没啥' 4 属于 4 '没' '没啥啊'
Not Monadic <syntaxhighlight lang=apl inline>~</source> 单 取反 <syntaxhighlight lang=apl inline>~ 0 1 0 0</source> 取反 0 1 0 0
Without Dyadic <syntaxhighlight lang=apl inline>~</source> 双 剔除 <syntaxhighlight lang=apl inline>3 1 4 1 5 ~ 5 1</source> 3 1 4 1 5 剔除 5 1


APL development [edit]
Interface SessionTyping glyphs (on Linux) ∙ FontsText editors
Publications IntroductionsLearning resourcesSimple examplesAdvanced examplesMnemonicsISO 8485:1989ISO/IEC 13751:2001A Dictionary of APLCase studiesDocumentation suitesBooksPapersVideosAPL Quote QuadVector journalTerminology (Chinese, German) ∙ Neural networksError trapping with Dyalog APL (in forms)
Sharing code Backwards compatibilityAPLcartAPLTreeAPL-CationDfns workspaceTatinCider
Implementation ResourcesOpen-sourceMagic functionPerformanceAPL hardware
Developers Timeline of corporationsAPL2000DyalogIBMIPSASTSC