View source: R/sparsebnUtils-generate.R
Generate a random positive definite matrix
1 | random.spd(nnode, eigenvalues = NULL, num.ortho = 10)
|
nnode |
Number of nodes in the matrix. |
eigenvalues |
Vector of eigenvalues desired in output. If this has fewer than nnode values, the remainder are filled in as zero. |
num.ortho |
Number of random Householder reflections to compose. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.