User blog comment:Rgetar/Variations of ordinal array function/@comment-32697988-20171215224922/@comment-32213734-20171215232622

All such designations see here.

"Base elements" of an array are, roughly speaking, its non-zero elements (with exception of array = 0: for such an array only base element is zero).

For example, let array X

X = 5, 0, 0, 1, 1, 0, 0, 8, 7, 0, 0, 0

So, X has five base elements: 5, 1, 1, 8 and 7.

lbeo ("last base element of") of an array is last base element of this array. So,

lbeo(X) = 7

lbest ("last base element set to"): lbest(X; α) of an array X is array X with its last base element set to α. So,

lbest(X; 5) = 5, 0, 0, 1, 1, 0, 0, 8, 5, 0, 0, 0

lbest(X; ω) = 5, 0, 0, 1, 1, 0, 0, 8, ω, 0, 0, 0

lbest(X; 0) = 5, 0, 0, 1, 1, 0, 0, 8, 0, 0, 0, 0