COMPRESSI(DAT) Returns data, compressed along the I axis: Missing points are moved to the end
Likewise COMPRESSJ, COMPRESSK, COMPRESSL, COMPRESSM, COMPRESSN compress data on the given axis, returning data on an abstract axis on that axis.
Arguments: |
DAT |
DAT: variable to compress in I |
Result Axes: |
X |
ABSTRACT, same length as DAT x-axis |
Y |
Inherited from DAT |
|
Z |
Inherited from DAT |
|
T |
Inherited from DAT |
|
E |
Inherited from DAT |
|
F |
Inherited from DAT |
Note:
It is generally advisable to include explicit limits when working with functions that replace axes. for example, consider the function compressi(v). The expression
list/i=6:10 compressi(v)
is not equivalent to
list compressi(v[i=6:10])
The former will list the 6th through 10th compressed indices from the entire i range of variable v. the latter will list all of the indices that result from compressing v[i=6:10].