Generates a random \(d \times d\) symmetric positive definite matrix.
This is done by generating a random \(d \times d\) 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, ...)
Number of rows/columns
Minimum value of entries in B
Maximum value of entries in B
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()