Skip to main content

random_like

Method of ComplexArray.

Overloads​

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

random_like(Distribution distribution) -> ComplexArray​

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

Parameters​

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

random_like() -> ComplexArray​

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