78
Catenate (The Index [I1 Entry Is an Integer): The catenate function joins two items along
an existing coordinate. (See the laminate function following for a description of how
to join two items along a new coordinate). The index [I], if given, specifies which
coordinate is expanded. The index entry must be a positive scalar or one-element
array. If no index [I] is specified, the last coordinate is used. Matrices of unequal
sizes can be joined, providing the lengths of the coordinate not specified are the
same (see Catenation in Chapter 3):
Laminate (The Index [I] Entry is a Fraction): The laminate function joins two items by
creating a new coordinate, specified by the index entry [I1 which must be a posi-
tive fraction. If the index entry is between 0 and 1, the new Coordinate becomes
the first coordinate; if the index entry is between 1 and 2, the new coordinate is
placed between existing coordinates 1 and 2 (the new coordinate that is added al-
ways has a value (or length) of 2). The following chart shows the positions of a
new coordinate in the shape vector (see the following examples) when two 3 by
3 matrices are laminated:
Index Value
Positions of New
Coordinate in the Shape
Vector
1.1 - 1.9
2.1 - 2.9
3 3
33
Lamination requires either that arguments A and B are the same shape or that one
of the arguments is a scalar:
1. :I. 22 33
3 ,J 6 6
{ I' $:3 (j '9 (.?
$1 [::
14, I"' I:?
... ( ... (
2 3 3 Shape Vector
79
Previous Page Next Page