根据Rosetta Code,在APL中创建单一矩阵有两种惯用方法:
1. ID?{?.=/?¨ ? ?} 2. ID?{? ? ? 1, ??0}
(2)如何工作?为什么这比使用在APL中被认为是惯用方法的外部产品的(1)更好?
matrix apl
apl ×1
matrix ×1