WWW | Store | Account | Contact Us
SHAZAM Homepage

COPY

The COPY command is used to copy vectors or matrices into other matrices. It is also possible to partition matrices, delete rows and columns, and create matrices from vectors by using the COPY command.

In general, the format is:

COPY fromvar(s) tovar / options

The available options are:

OPTION DESCRIPTION
fcol= Specifies the columns of the FROMVAR that are to be copied into the new variable. If the old variables are a list of vectors the FCOL= option need not be used as SHAZAM will automatically treat each vector as a column. Therefore, this option is only used if the old variable is a matrix.
frow= Specifies the rows of the FROMVAR(s) that are to be copied into the TOVAR . If this option is not specified the current SAMPLE command will be used.
tcol= Specifies the columns of the TOVAR into which the old variables are to be copied.
trow= Specifies the rows of the TOVAR into which the FROMVAR(s) are to be copied. If this option is not specified the current SAMPLE command will be used.

If no options are specified, all of 'fromvar(s)' will be copied into 'tovar'.