K-APL Dictionary

From The K Language Wiki
Revision as of 13:09, 8 March 2022 by Razetime (talk | contribs) (Razetime moved page APL-K Dictionary to K-APL Dictionary)

This page is incomplete.

This page contains information on the translation of APL code to K and vice versa.

Due to major differences in APL and K's array models, some of these may not be completely accurate. A star symbol(*) will be placed next to these entries. K9 will not be added here until it is finalized.

Terminology

APL K
Simple Scalar Atom
Scalar No Equivalent
Function Verb
Operator Adverb

Primitives

APL Monad Dyad
K3 K4-K6 K3 K4-K6
* _exp exp (oK only) {*/y#x} for integer y
_log log (oK only) _log {(log x)%log y}
! (*/1+) {{(*/x+y)%*/y}[y-x;1+!x]}
(3.141592654*) See here sin, cos (oK only, more in iKe)
~ ~ {x@&(#y)=y?/:x} ^
? (1 _draw) ?: _draw ?
(~&)
(~|)
No equivalent #