View source: R/generate_examples.R
generate_random_spd_matrix | R Documentation |
Generates a random \dxd symmetric positive definite matrix.
This is done by generating a random \dxd matrix B
,
then computing B %*% t(B)
,
and then normalizing the matrix to approximately single digit entries.
generate_random_spd_matrix(d, bMin = -10, bMax = 10, ...)
d |
Number of rows/columns |
bMin |
Minimum value of entries in |
bMax |
Maximum value of entries in |
... |
Ignored, only allowed for compatibility |
Other example generation functions:
generate_random_Gamma()
,
generate_random_chordal_graph()
,
generate_random_graphical_Gamma()
,
generate_random_integer_Gamma()
,
generate_random_model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.