General:. This page generally
describes new functionality in the 80 series of revisions and uploads. This is
Working Documentation that with maturity will be moved to the Master
Documentation.
@>< Switch
Arguments: Sometimes you could save an assignment into a variable if you
were just able to switch the arguments when you applied a dyadic function. This
operator, behaving like its @==, @=, @>, and @<
cousins, tells a subsequent dyadic function to reverse its arguments before
performing the operation. All this does is set a switch which dyadic operators
watch for. The dyadic operator resets the switch so arguments are taken in
their natural order after the operation.
numeric /<>
: Fill missing numeric data: Scanning a numeric vector with
/| fill in missing data with the last value seen. If data is missing
at the beginning, the next value seen is substituted. If all are missing, it
does nothing. Using the prefix operator @> causes the next value
seen to be used for filling rather than using the last value seen. For values
missing at the end, the last value seen is substituted. Using the prefix
operator @== causes values to be linear interpolated between last and
next values. Missing values at the begining get next seen; at the end, get last
seen.
numeric
/<> boolean : Expand with boolean and
Fill: First expands with boolean vector selecting sequentially where true
and inserting #nil where false. Then applys monadic /| to the
result.
numeric
/<> numeric : Replicate by count and then
Fill: First expands by counts in right argument. For correspondence, the
left and right arguments should be of the same length. For each element, the
left argument position is replicated according to the "count" in the
right argument. The left argument element is the first copied. Replicated
elements are filled with #nil. The monadic /| is then applied
to this result. By default (i.e. without @== or @>
prefix), the result is simple replication by count. The result length is the
sum reduction of the right argument.