ARRAY

A homogeneous (1- or 2-dimensional) array of variables. The values are given as a white-space-separated string, with quotes around elements containing whitespace. The dimension of the matrix is determined as follows:
If no attributes are given: 1-dimensional.
If SIZE (but not ROWS/COLUMNS) is given: 1-dimensional.
If ROWS and COLUMNS are given: 2-dimensional. SIZE is ignored
If STRUCT represents a square or triangular matrix (SQUARE, ANTISYMMETRIC, LOWERTRIANGLE, ORTHOGONAL, SYMMETRIC, UNITARY, UPPERTRIANGLE) only ONE of ROWS or COLUMNS need be given. SIZE is ignored.

An array of anything more complicated (links (A), ARRAY, etc) requires the use of XLIST rather than ARRAY.

Some arrays will be sparse or have missing values. The word NULL (or the quoted null string "") can be used to denote an element for which there is no information. Where many identical values are required, a premultiplier can be used, as in:
1.2 3.4 25*NULL 23*4.5 3*NULL 4.1
which would represent an array of length 54.

Sometimes (as for a controlling variable or an axis on a graph) an array can be generated from a linear expression and the values in the content can be omitted. In this case TYPE must be INTEGER or FLOAT, START and DELTA must both be given and be of this type and SIZE must also be given. An example:
<ARRAY START="3.1" DELTA="0.3" SIZE="5"></>
is equivalent to:
<ARRAY>3.1 3.4 3.7 4.0 4.3</ARRAY> .

Note that ARRAY and XVAR share the same TYPE, FUZZY, DICTNAME, MIME, UNITS and LANG attributes and their associated values. They will differ in the values of BUILTIN.


Content


ATTRIBUTES
CONTENT DECLARATION

Tag Minimization
Open Tag: REQUIRED
Close Tag: REQUIRED

Parent Elements


Top Elements
All Elements
Tree


cml DTD