⌽ ⌹ ⍉ (4 4 ⍴ ⍳ 16) ⋆ 0.5

47.4709 _536.891 986.951 _495.868

_85.5088 930.92 _1689.17 841.731

39.2057 _386.597 679.391 _331.519

_2.29896 8.48562 _10.1715 3.98314



Neither, it is J's fork Jx after running the following script:

NB. APL retro...


NB. ¯


× =. *

÷ =. %


NB. ∘ =. "0/ ⍝ Not really (e.g., 1 2 3 , ∘ 4 5 6)


∣ =. |

∼ =. -.

≠ =. ~:

≤ =. <:

≥ =. >:


NB. ≬ ⌶


⋆ =. ^


NB.⌾


⍟ =. ^.

⌽ =. |.

⍉ =. |:


NB. ⍝ ⍦ ⍧ ⍪ ⍫ ⍬ ⍭ ←


↑ =. {.

NB. →

↓ =. }.


NB. ∆ ∇


∧ =. *.

∨ =. +.


NB. ∩ ∪


⌈ =. >.

⌊ =. <.

∈ =. e.

⊤ =. #.

⊥ =. #:


NB. ⊂ ⊃


⌿ =. /

⍀ =. /\


NB. ⍅ ⍆ ⍏ ⍖ ⍊ ⍑


⍋ =. /:

⍒ =. \:

⍎ =. ".

⍕ =. ":


NB. ⍱ ⍲ ○


⍳ =. i.

⍴ =. $


NB. ⍵ ⍺ ⍶ ⍷ ⍸ ⍹ ⍘ ⍙ ⍚ ⍛ ⍜ ⍮ ¨ ⍡ ⍢ ⍣ ⍤ ⍥ ⍨ ⍩

NB. ⎕ ⍞ ⍠ ⍯ ⍰ ⍌ ⍍ ⍐ ⍓ ⍔ ⍗ ⌷ ⌸

⌹ =. %.

NB. ⌺ ⌻ ⌼ ⍁ ⍂ ⍃ ⍄ ⍇ ⍈



⌽ ⌹ ⍉ (4 4 ⍴ ⍳ 16) ⋆ 0.5


Extra spaces are required because Unicode characters are just forming names.

I got this list of APL characters from:
http://xahlee.info/comp/unicode_APL_symbols.html

I did not complete many definitions because some cannot have a counterpart,
I ran out of time, I did not remember exactly the definition or I have no
idea what they mean...  I wonder how many primitives in modern APLs could
have interesting useful counterparts in J.

This is, of course, just for fun since APL and J are different.  In
addition, I would not be surprised if I got some of these definitions wrong
 (I have not used APL for more than a decade and a half and I cannot test
anything).

:)

PS.  Nevertheless, any corrections, extensions, and comments would be
appreciated.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to