Sorry in the previuos message I've inverted: I would like generate ... "same eigenvectors and different eigenvalues" -- View this message in context: http://r.789695.n4.nabble.com/Generate-positive-definite-matrix-with-constraints-tp4667449p4667450.html Sent from the R help mailing list archive at Nabble.com.