Description Usage Arguments Value Author(s) References Examples
uses random matrix to whiten a matrix
1 | randwhiten(A, k, seed = NA)
|
A |
input matrix |
k |
rank to use |
seed |
for testing |
whitened matrix is output
Avants BB
N. Halko, P.G. Martinsson, J. Tropp "Finding structure with randomness: Stochastic algorithms for constructing approximate matrix decompositions" arXiv 0909.4061
1 2 3 4 | A <- matrix(rnorm(3000), ncol=50 )
k=10
Aw=randwhiten(A,k)
# (Aw) %*% t(Aw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.