powered by
Draws a random sample from the invariant measure on the Stiefel manifold \(S(p, q)\).
rStiefel(p, q)
row dimension
col dimension
A \(p \times q\) semi-orthogonal matrix.
# NOT RUN { V <- rStiefel(6, 4) # }
Run the code above in your browser using DataLab