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