rStiefel: Random sample from Stiefel manifold.

Description Usage Arguments Value Examples

View source: R/util.R

Description

Draws a random sample from the invariant measure on the Stiefel manifold S(p, q).

Usage

1
rStiefel(p, q)

Arguments

p

row dimension

q

col dimension

Value

A p x q semi-orthogonal matrix.

Examples

1
V <- rStiefel(6, 4)

CVarE documentation built on March 11, 2021, 5:06 p.m.