powered by
Samples \(x ~ N(0, AxB)\)
kronSamp(A, B)
an \(m x n\) matrix
an \(p x q\) matrix
# NOT RUN { A = matrix(c(1,.5,.5,1), ncol=2) B = diag(2) x = kronSamp(A, B) # }
Run the code above in your browser using DataLab