Description Usage Arguments Value Examples
Uniform random matrices are matrices with uniformly distributed entries. They are an elementary type of random matrix.
1 |
N |
number of dimensions of the square matrix |
min |
minimum of the uniform distribution to be sampled from |
max |
maximum of the uniform distribution to be sampled from |
symm |
indicates whether the matrix should be symmetric (equal to its transpose). |
cplx |
indicates whether the matrix should have complex entries. |
herm |
indicates whether the matrix should be hermitian (equal to its conjugate transpose). Reserved for when cplx = TRUE, otherwise use symm = TRUE. |
A random matrix with uniformly distributed entries.
1 2 3 4 5 6 7 8 9 10 11 | # Unif(1,2) distributed matrix
P <- RM_unif(N = 3, min = 1, max = 2)
# Unif(0,5) distributed matrix with real symmetric entries
P <- RM_unif(N = 7, min = 0, max = 5, symm = TRUE)
# Unif(0,1) distributed matrix with complex entries
Q <- RM_unif(N = 7, min = 0, max = 1, cplx = TRUE)
# Unif(2,10) distributed matrix with hermitian complex entries
Q <- RM_unif(N = 5, min = 2, max = 10, cplx = TRUE, herm = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.