Skip to contents

A step of the RcppExports implementation. Called by morie_dsp_cross_correlation. See the file header for the source the module follows.

Arguments

x

Passed to .Call.

y

Passed to .Call.

max_lag

Passed to .Call.

Value

The value of .Call.

Examples

x <- sin(1:50); y <- c(0, 0, sin(1:48))     # y is x delayed by 2
r <- morie_dsp_cross_correlation_cpp(x, y, 4L)
r
#> [1]  0.8591039  0.2458987 -0.6253374 -0.9466842 -0.3919951  0.5446901  0.9798275
#> [8]  0.5132877 -0.3972200