Skip to main content

random_like

Method of BoolArray.

Overloads​

NameDescription
random_like(Distribution distribution) -> BoolArrayReturn a BoolArray of random numbers with the same shape and type as a given BoolArray.
random_like() -> BoolArrayReturn a BoolArray of random numbers with the same shape and type as a given BoolArray.

random_like(Distribution distribution) -> BoolArray​

Return a BoolArray of random numbers with the same shape and type as a given BoolArray.

Parameters​

  • distribution: A Distribution used to populate the given array.

random_like() -> BoolArray​

Return a BoolArray of random numbers with the same shape and type as a given BoolArray.