compressed.object: Compressed (Wavelet) Object
Description
These are objects of class "compressed"
.
They are lists with components representing a vector, see below.Value
- The following components must be included in a legitimate
compressed
object. - positiona vector containing the position of the non-zero
elements in the original vector.
- valuesa vector, corresponding position-by-position to the
position vector, containing the values of the original vector.
- original.lengththe original length of the uncompressed vector.
METHODS
The "compressed"
class of objects has methods for the following generic
functions:
uncompress.default
RELEASE
Release 2.2
Copyright Guy Nason 1993Details
The compress.default
function tries to compress a vector.
If it can it produces an object of class compressed
, otherwise an
object of class uncompressed
.