wp.crystal(x, dict=NULL, shift=NULL, crystal.name="", odd=attr(x, "odd"), ...) wp.inf.crystal(x, dict=NULL, shift=NULL, crystal.name="", odd=attr(x, "odd"), ...) wp.nd.crystal(x, dict=NULL, shift=NULL, crystal.name="", odd=attr(x, "odd"), ...)
wp.inf.crystal returns an object of class "wp.inf.crystal", which inherits from "wp.crystal".
wp.nd.crystal returns an object of class "wp.nd.crystal", which inherits from "wp.crystal".
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 wavelet 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.