Axis: Difference between revisions

From NARS2000
Jump to navigationJump to search
(New page: * Axis operator allowed with primitive scalar dyadic functions (e.g., <apll>1 2+[1] 2 3⍴R</apll>) * Axis operator to primitive scalar dyadic functions may transpose coordinates (e.g., <a...)
 
No edit summary
Line 4: Line 4:
* Axis operator is allowed on the dyadic derived function from the Each operator (e.g., <apll>(2 3⍴L)⍴¨[1 2] 2 3 4⍴R</apll>)
* Axis operator is allowed on the dyadic derived function from the Each operator (e.g., <apll>(2 3⍴L)⍴¨[1 2] 2 3 4⍴R</apll>)
* Axis operator is allowed on user-defined functions/operators (e.g., <apll>FOO[2 3] R</apll> by specifying it in the function header, as in <apll>∇ Z←FOO[X] R</apll>)
* Axis operator is allowed on user-defined functions/operators (e.g., <apll>FOO[2 3] R</apll> by specifying it in the function header, as in <apll>∇ Z←FOO[X] R</apll>)
* Axis operator values may be negative. That is, if the largest allowed value is <apll>N</apll>, then the allowable range for axis operator values is <apll>¯1-N</apll> to <apll>N</apll>, inclusive.
* Axis operator values may be negative. That is, if the largest allowed value is <apll>N</apll>, then the allowable range for axis operator values is <apll>1 ¯1[1]-N</apll> to <apll>N</apll>, inclusive.

Revision as of 11:34, 10 April 2008

  • Axis operator allowed with primitive scalar dyadic functions (e.g., 1 2+[1] 2 3⍴R)
  • Axis operator to primitive scalar dyadic functions may transpose coordinates (e.g., (2 3⍴L)+[1 2] 2 3 4⍴R and (⍉2 3⍴L)+[2 1] 2 3 4⍴R are identical)
  • Axis operator to Ravel may transpose coordinates (e.g., ,[2 1] R and ,[1 2] R are both valid but, in general, have the same values in different order)
  • Axis operator is allowed on the dyadic derived function from the Each operator (e.g., (2 3⍴L)⍴¨[1 2] 2 3 4⍴R)
  • Axis operator is allowed on user-defined functions/operators (e.g., FOO[2 3] R by specifying it in the function header, as in ∇ Z←FOO[X] R)
  • Axis operator values may be negative. That is, if the largest allowed value is N, then the allowable range for axis operator values is 1 ¯1[1]-N to N, inclusive.