Skip to contents

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

Arguments

x

Passed to .Call.

d

Passed to .Call.

order

Passed to .Call.

mu

Passed to .Call.

Value

The value of .Call.

Examples

set.seed(2)
x <- rnorm(300)
d <- stats::filter(x, c(0.6, -0.2), sides = 1); d[is.na(d)] <- 0
str(morie_dsp_lms_cpp(x, as.numeric(d), 2L, 0.05))
#> List of 2
#>  $ y: num [1:300] 0 0 0 0.0117 0.00171 ...
#>  $ e: num [1:300] 0 0 0.916 -1.007 0.176 ...