WaveThresh Help

compressed objects


Objects that contain a compressed representation of a vector (which contained many zeroes which are no longer stored)

DESCRIPTION

These are objects of classes compressed. They are lists with components representing a vector which had many zeroes. The compressed representation is essentially storage of the non-zero elements.

GENERATION

By compress.default.

METHODS

The compressed class of objects has methods for the following generic functions: uncompress.default.

INHERITANCE

None (yet).

STRUCTURE

The following components must be included in a legitimate compressed object.
position
a vector containing the position of the non-zero elements in the original vector;
values
a vector, corresponding position-by-position to the position vector, containing the values of the original vector;
original.length
the original length of the uncompressed vector.

DETAILS

The compress.default function tries to compress a vector, if it can it produces an object of type compressed, otherwise it produces an object of type uncompressed.

RELEASE

Version 3.5.3 Copyright Guy Nason 1994

SEE ALSO

compress, compress.default, uncompressed, uncompress.default.