Toggle navigation
JUPYTER
FAQ
View as Code
Dyalog APL Kernel
View on GitHub
Execute on Binder
Download Notebook
apl-notebooks
Example.ipynb
Notebook
Example notebook
¶
In [1]:
f
←
+
/
÷≢
Out[1]:
done Rebuilding user command cache... done
In [2]:
f
1
2
3
Out[2]:
2
In [3]:
]
dinput
g
←
{
+
/
⍵
÷≢
⍵
}
In [4]:
g
1
2
3
Out[4]:
2
In [5]:
⍸
0
0
0
2
0
1
⍸
⍣
¯1
⊢
4
4
6
Out[5]:
4 4 6
Out[5]:
0 0 0 2 0 1