This function is an S Version 3 generic (see Methods);
method functions can be written to handle specific
S Version 3 classes of data. Classes which already
have methods for this function include:
wp.crystal
.
USAGE:
convup(x, filter, boundary, odd=F, convfast=F)
REQUIRED ARGUMENTS:
x
a numeric vector or an object of
wp.crystal.
filter
a vector of filter coefficients. When
x is an object of
wp.crystal,
this argument can be optional.
boundary
a character string giving the name of the boundary rule, e.g.,
"periodic".
See
convdown for details. When
x is an object of
wp.crystal,
this argument can be optional, the default is
attr(x, "boundary").
OPTIONAL ARGUMENTS:
odd
logical flag indicating if the outcome vector should be of odd length.
See details below.
convfast
logical flag indicating if fast algorithm should be used.
VALUE:
if
odd=FALSE, then a vector of length
2n, where
n=length(x), is returned;
otherwise, a vector of length
2n-1 is returned.