random_like
Method of RealArray.
Overloads
| Name | Description |
|---|---|
random_like(Distribution distribution) -> RealArray | Return a RealArray of random numbers with the same shape and type as a given RealArray. |
random_like() -> RealArray | Return a RealArray of random numbers with the same shape and type as a given RealArray. |
random_like(Distribution distribution) -> RealArray
Return a RealArray of random numbers with the same shape and type as a given RealArray.
Parameters
- distribution: A Distribution used to populate the given array.
random_like() -> RealArray
Return a RealArray of random numbers with the same shape and type as a given RealArray.