Appendix A
ECAT (A, B )
Concatenates the values of two variables into one list on an abstract E axis.
Arguments: |
A |
variables to concatenate in E |
B |
||
Result Axes: |
X |
Inherited from variables A and B |
Y |
Inherited from variables A and B |
|
Z |
Inherited from variables A and B |
|
T |
Inherited from variables A and B |
|
E |
Abstract, with length the sum of the length of the E axes of A and B |
|
F |
Inherited from variables A and B |
Note:
This is a grid-changing function. It is generally advisable to include explicit limits when working with functions that replace axes. for example, consider the function xcat(a,b). Look at the expressions
list/m=10:20 ecat(a,b)
and
list mcat(a[m=16:20],b[m=1:5])
Both will list 10 values in the E direction. The former will list the 10th through 20th data values indices from the entire M range of both variables. The latter will list all of the data that results from concatenating b[m=1:5] onto a[m=16:20].
ECAT_STR (sA, sB) concatenates string variables in the X direction. If ECAT is called with string arguments, Ferret runs ECAT_STR. The two arguments to ECAT must be of the same type.
yes? let a = esequence({"Q", "R", "S"}) yes? let b = esequence({"U", "V", "W"}) yes? list ecat(a,b)