Closed jolyonb closed 5 years ago
So, sample a generic n by n matrix, then do Gramm-Schmidt on the rows (or columns)?
That sounds like a good approach. This would work for unitary matrices, too, right? Just sample the original vectors over C instead of R.
Basically. Unitary will work the same way.
Ok, I've finally hit the point where I want a special matrix sampler. In this case, I'm after a random orthogonal matrix. I think this can be done in the following way: