powered by
Efficient matrix multiplication with Toeplitz matrix and arbitrary matrix or vector.
toep.mult(acf, X)
Length-N vector giving the first column (or row) of the Toeplitz matrix.
N
Vector or matrix of compatible dimensions with acf.
acf
An N-row matrix corresponding to toeplitz(acf) %*% X.
toeplitz(acf) %*% X
# NOT RUN { N <- 20 d <- 3 acf <- exp(-(1:N)) X <- matrix(rnorm(N*d), N, d) toep.mult(acf, X) # }
Run the code above in your browser using DataLab