Description Usage Arguments Details Value Author(s) Examples

This function draws a sample from the uniform distribution on the Stiefel manifold.

1 | ```
runif_sm(num, ip, ir)
``` |

`num` |
number of observations or sample size. |

`ip` |
the first dimension |

`ir` |
the second dimension |

The Stiefel manifold with dimension *p* and *r* (*p ≥q r*) is a space whose points are *r*-frames in *R^p*.
A set of *r* orthonormal vectors in *R^p* is called an *r*-frame in *R^p*.
The Stiefel manifold is a collection of *p \times r* full rank matrices *X* such that *X'X = I_r*.

an array with dimension `num`

, `ip`

and `ir`

containing a sample of draws from the uniform distribution on the Stiefel manifold.

Yukai Yang, yukai.yang@statistik.uu.se

1 | ```
runif_sm(10,4,2)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.