Suffix: Difference between revisions

Jump to navigation Jump to search
Prefix and Suffix vectors now have a page
m (Text replacement - "<source" to "<syntaxhighlight")
(Prefix and Suffix vectors now have a page)
 
Line 17: Line 17:
In [[leading axis theory]], the [[cell shape]] of each k-[[cell]] in an array is a suffix of that array's [[shape]], while the [[frame]] is a [[prefix]] of the shape.
In [[leading axis theory]], the [[cell shape]] of each k-[[cell]] in an array is a suffix of that array's [[shape]], while the [[frame]] is a [[prefix]] of the shape.


[[Iverson notation]] included the notion of a suffix vector <math>\omega^j(n)</math> consisting of <math>n-j</math> zeros followed by <math>j</math> ones; such a vector could be used to produce a length-<math>j</math> suffix of a length-<math>n</math> vector using [[Compress]]. The earliest versions of [[APL\360]] adapted this notation by defining a suffix function <syntaxhighlight lang=apl inline>n ⍵ j</syntaxhighlight> before removing it in favor of [[Take]] with a negative left argument.
[[Iverson notation]] and very early APLs included the notion of a [[suffix vector]] <math>\omega^j(n)</math> consisting of <math>n-j</math> zeros followed by <math>j</math> ones; such a vector could be used to produce a length-<math>j</math> suffix of a length-<math>n</math> vector using [[Compress]].


[[Category:Array relationships]]
[[Category:Array relationships]]

Navigation menu