x←1 2 3 4 5 u←6=x∘.+x u 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 ⍸u 1 5 2 4 3 3 4 2 5 1 {⍸6=⍵∘.+⍵}x 1 5 2 4 3 3 4 2 5 1 {⍸6=⍵∘.+⍵} 1 2 3 4 5 1 5 2 4 3 3 4 2 5 1 {⍸6=⍵∘.+⍵} ⍳5 1 5 2 4 3 3 4 2 5 1 app←{⍸6=⍵∘.+⍵} app 1 2 3 4 5 1 5 2 4 3 3 4 2 5 1
It might be worth your time to try it, see https://www.gnu.org/software/apl/ Jürgen's version can be gotten at either: svn checkout http://svn.savannah.gnu.org/svn/apl/trunk or git clone https://git.savannah.gnu.org/git/apl.git Good luck, Chris Moller On 6/18/21 8:50 AM, Adám Brudzewsky wrote:
Hi, can anyone answer this?Unrecognised symbols in GNU APL <https://stackoverflow.com/q/68035235/5306507>
OpenPGP_0xDA6C01938888083E.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature