Ops Group Method for crystal.vector Objects

DESCRIPTION:

Group Method defining mathematical operations on crystal.vector objects

USAGE:

e1 OP e2 

REQUIRED ARGUMENTS:

e1, e2
two compatible crystal.vector objects. See below for details.

VALUE:

a crystal.vector object, each coefficient of which will be the result of applying the operator to the corresponding coefficients from both of the arguments.

DETAILS:

All the attributes of the crystal.vector objects must match exactly, e.g. they must have the same sample sizes, same resolution levels, same boundary rules, same wavelet filters (for wavelet packet analysis) or tapering functions (for cosine packet analysis).

The default vector method for the operation is applied. Arithmetic operations will fail if there are any non-numeric coefficients, as they should.

This is a group method for the functions of the Ops group, the basic operators for arithmetic, comparison, and logic.

BUGS:

Unary operators - (sign reverse) and ! (exclusion) are not working. Use 0-e1 for sign reverse, and 1-e1 for logical exclusion.

SEE ALSO:

, , , .