[Rd] Inaccuracy in ?convolve

hpages at fhcrc.org hpages at fhcrc.org
Fri Feb 2 20:43:59 CET 2007


Man page for 'convolve' says:

    conj: logical; if 'TRUE', take the complex _conjugate_ before
          back-transforming (default, and used for usual convolution).

The complex conjugate of 'x', of 'y', of both?

In fact it seems that it takes the complex conjugate of 'y' only which
is OK but might be worth mentioning because (1) conj=TRUE is the default
and (2) with this default then convolve(x,y) is not the same as convolve(y,x).
Note that 'convolve' is commutative with conj=FALSE and would be too
if conj=TRUE was taking the complex conjugate of x _and_ y...


More information about the R-devel mailing list