Ops Group Method for ptable Objects

DESCRIPTION:

Group Method defining mathematical operations on ptable objects

USAGE:

e1 OP e2 

REQUIRED ARGUMENTS:

e1, e2
two compatible ptable objects. See below for details.

VALUE:

a ptable object, each coefficient of which will be the result of applying the operator to the corresponding coefficients from both of the arguments. The pcosts attribute will be set to NULL.

DETAILS:

All the attributes of the ptable 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 table) or tapering functions (for cosine packet table).

The method for crystal.vector or crystal.list is used, depending on the class from which table inherits. In addition, the pcosts attribute is set to NULL. You can reset the pcosts attribute using the pcosts function.

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:

, , , , , .