set_random
Method of ComplexArray.
Overloads
| Name | Description |
|---|---|
set_random(Distribution distribution, RandomGenerator generator) -> ComplexArray | Sets all elements of the ComplexArray lhs to be populated by the given distribution. |
set_random() -> ComplexArray | Sets all elements of the ComplexArray lhs to random values on the interval [0, 1]. |
set_random(Distribution distribution) -> ComplexArray | Sets all elements of the ComplexArray lhs to be populated by the given distribution. |
set_random(RandomGenerator generator) -> ComplexArray | Sets all elements of the ComplexArray lhs to random values on the interval [0, 1]. |
set_random(Distribution distribution, RandomGenerator generator) -> ComplexArray
Sets all elements of the ComplexArray lhs to be populated by the given distribution.
Parameters
- distribution: A random distribution used to populate the given matrix
- generator: A random number generator used to populate the matrix.
set_random() -> ComplexArray
Sets all elements of the ComplexArray lhs to random values on the interval [0, 1].
set_random(Distribution distribution) -> ComplexArray
Sets all elements of the ComplexArray lhs to be populated by the given distribution.
Parameters
- distribution: A random distribution used to populate the given matrix
set_random(RandomGenerator generator) -> ComplexArray
Sets all elements of the ComplexArray lhs to random values on the interval [0, 1].
Parameters
- generator: A random number generator used to populate the matrix.