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