jpellegrini / gnu-apl-refcard

A reference card for GNU APL
Other
12 stars 3 forks source link

Rank is missing #6

Closed abrudz closed 3 years ago

abrudz commented 4 years ago

Rank would be written as \ddot\circ.

jpellegrini commented 3 years ago

Hi -- sorry for the delay in answering this.

⍤ does not seem to exist in GNU APL... Are you sure you got it to work in GNU APL, and not Dyalog?

abrudz commented 3 years ago

I've quite sure: image Compare to Dyalog: image

jpellegrini commented 3 years ago

Oh you're right! I never realized it was there, probably because I copied the wrong unicode char someday or something like that -- so I never used it in GNU APL. Thank you for reporting, and also for letting me know it's there! :) I'm pushing a commit that will also close this issue.

abrudz commented 3 years ago

This is incomprehensible: image And incomplete:

      10 20 30+⍤0 1(3 3⍴⍳9)
11 12 13
24 25 26
37 38 39

Maybe something like A f⍤k B would work?

jpellegrini commented 3 years ago

You're right. I think it's a lot of information to compress in a single line of a reference card, so the text is not really clear. I'd guess the user will already know most of the concepts, but anyway, you're right about the notation. I'll update it.