cp.crystal(x, boundary=NULL, taper=NULL, dct.type=NULL, interval=NULL, crystal.name="", ...)
Arithmetic operations can be applied to crystals. Furthermore, crystals are preserved under binary operations involving a scalar or two crystals of the same type (e.g., same frequency and level in the case of cosine crystals). This allows operations on crystals to be performed transparently, such as addition of crystals in a reconstruction algorithm or nonlinear shrinkage of coefficients for smoothing. See the examples in dwt and dwt.2d.