DESTROY command

Syntax: DESTROY { v1 v2 ... }
Qualifiers: \EXPAND, \SCALARS, \VECTORS, \MATRICES, \TEXT, \ALL
Defaults: \-EXPAND

The DESTROY command eliminates subsets of vectors or string variables, or it destroys scalars, matrices and tensors.

When scalars, matrices or tensors are entered, they are completely destroyed. Index ranges are not allowed on scalars, matrices or tensors. These variables are simply eliminated. By default, variable names are not constructed or expanded.

If vectors are entered with no index ranges, they are entirely eliminated. Subsets of vectors or of string variables may be eliminated by including an index range.

Expanded names
Index ranges
Destroy entire classes of variables
Examples