Hi Blake,
thanks, I have added a sentence mentioning that axes have no constraints
(SVN 325).
There was an example already (function *Z←Average[X] B*).
/// Jürgen
On 06/13/2014 12:57 AM, Blake McBride wrote:
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