Description Arguments Value Usage Details Examples
Generate random complex numbers using the specified distribution.
By default rnorm
is used.
n |
Length of the output vector |
dist |
The distribution for the random number genertor |
A vector of random numbers
rcomp(n, dist)
rcomp(n, dist=rnorm)
This function is used primarily to generate random matrices.
1 2 |
[1] 0.4893188-0.3300048i 0.7203981-0.4167354i 1.1356177-1.1392188i
[4] -0.1203400+0.0469742i -0.9561422+0.2634401i 0.9263738-0.3616683i
[7] -0.6325848+0.1873368i -1.2701159+0.1940134i -0.8981386+1.1939284i
[10] -0.3891939-0.2101524i
[1] 0.6271271+0.1193842i 0.6707417+0.5386199i 0.2478612+0.7702110i
[4] 0.4977393+0.7574235i 0.2188743+0.2374490i 0.1555089+0.1701197i
[7] 0.1575806+0.0837899i 0.2710499+0.4638165i 0.0384134+0.1067606i
[10] 0.7123434+0.0229051i
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.