bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Axis argument documentation


From: Blake McBride
Subject: [Bug-apl] Axis argument documentation
Date: Thu, 12 Jun 2014 17:57:20 -0500

Greetings,

Reviewing the docs for axis argument function, it seems to me that this feature is a lot more powerful than the docs would lead one to believe.  The docs imply that the axis argument is designed for, and perhaps can only be used as, an axis argument.  This is shown in the documentation.  I propose two things be added:

1.  A statement making it clear that the axis argument can be used for any purpose - just like the other arguments to the function.

2.  Give an example like:

      ∇test[⎕]∇
    ∇
[0]   r←x test[z] y
[1]   'x = ',⍕x
[2]   'y = ',⍕y
[3]   'z = ',⍕z
[4]   r←x+y+z
    ∇
      3 test[4] 5
x = 3
y = 5
z = 4
12


reply via email to

[Prev in Thread] Current Thread [Next in Thread]