Skip to main content

filled_like

Overloads

NameDescription
filled_like(const ComplexArray lhs, bool c) -> ComplexArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const BoolArray lhs, integer c) -> BoolArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const RealArray lhs, bool c) -> RealArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const RealArray lhs, real c) -> RealArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const ComplexArray lhs, integer c) -> ComplexArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const ComplexArray lhs, real c) -> ComplexArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const RealMatrix lhs, integer c) -> RealMatrixReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const RealArray lhs, integer c) -> RealArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const ComplexArray lhs, complex c) -> ComplexArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const BoolArray lhs, bool c) -> BoolArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const RealMatrix lhs, real c) -> RealMatrixReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const RealMatrix lhs, bool c) -> RealMatrixReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const ComplexMatrix lhs, integer c) -> ComplexMatrixReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const ComplexMatrix lhs, real c) -> ComplexMatrixReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const ComplexMatrix lhs, bool c) -> ComplexMatrixReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const IntegerArray lhs, bool c) -> IntegerArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const IntegerArray lhs, integer c) -> IntegerArrayReturn a container with the same shape and type as a given container, filled with a prescribed value.
filled_like(const ComplexMatrix lhs, complex c) -> ComplexMatrixReturn a container with the same shape and type as a given container, filled with a prescribed value.

filled_like(const ComplexArray lhs, bool c) -> ComplexArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const BoolArray lhs, integer c) -> BoolArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const RealArray lhs, bool c) -> RealArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const RealArray lhs, real c) -> RealArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const ComplexArray lhs, integer c) -> ComplexArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const ComplexArray lhs, real c) -> ComplexArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const RealMatrix lhs, integer c) -> RealMatrix

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const RealArray lhs, integer c) -> RealArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const ComplexArray lhs, complex c) -> ComplexArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const BoolArray lhs, bool c) -> BoolArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const RealMatrix lhs, real c) -> RealMatrix

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const RealMatrix lhs, bool c) -> RealMatrix

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const ComplexMatrix lhs, integer c) -> ComplexMatrix

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const ComplexMatrix lhs, real c) -> ComplexMatrix

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const ComplexMatrix lhs, bool c) -> ComplexMatrix

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const IntegerArray lhs, bool c) -> IntegerArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const IntegerArray lhs, integer c) -> IntegerArray

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.

filled_like(const ComplexMatrix lhs, complex c) -> ComplexMatrix

Return a container with the same shape and type as a given container, filled with a prescribed value.

Parameters

  • lhs: The input container.
  • c: The constant value to fill with.