powered by
makeY
makeY(X, Z, omega)
n <- 5 A <- matrix(rnorm(n^2),n,n) omega <- c(1,5,8,10,16,23) Z <- Matrix(0,n,n,sparse=TRUE) makeY(A,Z,omega)
Run the code above in your browser using DataLab