Skip to main content

fill

Method of ComplexArray.

Overloads

NameDescription
fill(integer c) -> voidSets all elements of the ComplexArray lhs to the constant c.
fill(real c) -> voidSets all elements of the ComplexArray lhs to the constant c.
fill(bool c) -> voidSets all elements of the ComplexArray lhs to the constant c.
fill(complex c) -> voidSets all elements of the ComplexArray lhs to the constant c.

fill(integer c) -> void

Sets all elements of the ComplexArray lhs to the constant c.

Parameters

  • c: The constant value to fill with.

fill(real c) -> void

Sets all elements of the ComplexArray lhs to the constant c.

Parameters

  • c: The constant value to fill with.

fill(bool c) -> void

Sets all elements of the ComplexArray lhs to the constant c.

Parameters

  • c: The constant value to fill with.

fill(complex c) -> void

Sets all elements of the ComplexArray lhs to the constant c.

Parameters

  • c: The constant value to fill with.