Appendix A
FCAT (A, B )
Concatenates the values of two variables into one list on an abstract X axis.
Arguments: |
A |
variables to concatenate in X |
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 |
Inherited from variables A and B |
|
F |
Abstract, with length the sum of the length of the F axes of 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 fcat(a,b). Look at the expressions
list/n=10:20 fcat(a,b)
and
list fcat(a[n=16:20],b[n=1:5])
Both will list 10 values in the F direction. The former will list the 10th through 20th data values indices from the entire N range of both variables. The latter will list all of the data that results from concatenating b[n=1:5] onto a[n=16:20].
FCAT_STR (sA, sB) concatenates string variables in the F direction. If FCAT is called with string arguments, Ferret runs FCAT_STR. The two arguments to FCAT must be of the same type.
yes? let a = fsequence({"Q", "R", "S"}) yes? let b = fsequence({"U", "V", "W"}) yes? list fcat(a,b)