Personal tools
Document Actions

XCAT

Appendix A Sec31.

XCAT and XCAT_STR

XCAT (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

Abstract, with length the sum of the length of the X axes of A and B


Y

Inherited from variables A and B


Z

Inherited from variables A and B


T

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/i=10:20 xcat(a,b)

and

list xcat(a[i=16:20],b[i=1:5])

Both will list 10 values in the X direction. The former will list the 10th through 20th data values indices from the entire I range of both variables. The latter will list all of the data that results from concatenating b[i=1:5] onto a[i=16:20].


XCAT_STR (sA, sB) concatenates string variables in the X direction.  If XCAT is called with string arguments, Ferret  runs XCAT_STR. The two arguments to XCAT must be of the same type.

yes? let a = xsequence({"Q", "R", "S"})
yes? let b = xsequence({"U", "V", "W"})
yes? list xcat(a,b)


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: