Based on Chacon and Duong (2015) efficient recursive algorithms for functionals based on higher order
derivatives. An option for sparse matrix is provided. By using sparse matrices far
less memory is required and faster computation times are obtained
Usage
SymMatr(d, n, useSparse = FALSE)
Value
A Symmetrizer matrix with order \({d^n} \times d^n\). If useSparse=TRUE
an object of the class "dgCMatrix" is produced.
Arguments
d
dimension of a vector x
n
power of the Kronecker product
useSparse
TRUE or FALSE. If TRUE an object of the class
"dgCMatrix" is produced.
References
Chacon, J. E., and Duong, T. (2015). Efficient recursive algorithms
for functionals based on higher order derivatives of the multivariate Gaussian density.
Statistics and Computing, 25(5), 959-974.