Skip to main content

zeros_like

Overloads

NameDescription
zeros_like(const BoolArray lhs) -> BoolArrayReturn a container of zeros with the same shape and type as a given container.
zeros_like(const RealMatrix lhs) -> RealMatrixReturn a container of zeros with the same shape and type as a given container.
zeros_like(const ComplexMatrix lhs) -> ComplexMatrixReturn a container of zeros with the same shape and type as a given container.
zeros_like(const IntegerArray lhs) -> IntegerArrayReturn a container of zeros with the same shape and type as a given container.
zeros_like(const RealArray lhs) -> RealArrayReturn a container of zeros with the same shape and type as a given container.
zeros_like(const ComplexArray lhs) -> ComplexArrayReturn a container of zeros with the same shape and type as a given container.

zeros_like(const BoolArray lhs) -> BoolArray

Return a container of zeros with the same shape and type as a given container.

Parameters

  • lhs: The input container.

zeros_like(const RealMatrix lhs) -> RealMatrix

Return a container of zeros with the same shape and type as a given container.

Parameters

  • lhs: The input container.

zeros_like(const ComplexMatrix lhs) -> ComplexMatrix

Return a container of zeros with the same shape and type as a given container.

Parameters

  • lhs: The input container.

zeros_like(const IntegerArray lhs) -> IntegerArray

Return a container of zeros with the same shape and type as a given container.

Parameters

  • lhs: The input container.

zeros_like(const RealArray lhs) -> RealArray

Return a container of zeros with the same shape and type as a given container.

Parameters

  • lhs: The input container.

zeros_like(const ComplexArray lhs) -> ComplexArray

Return a container of zeros with the same shape and type as a given container.

Parameters

  • lhs: The input container.