set_constant
Method of ComplexArray.
Overloads
| Name | Description |
|---|---|
set_constant(complex c) -> ComplexArray | Sets all elements of the ComplexArray lhs to the constant c. |
set_constant(bool c) -> ComplexArray | Sets all elements of the ComplexArray lhs to the constant c. |
set_constant(real c) -> ComplexArray | Sets all elements of the ComplexArray lhs to the constant c. |
set_constant(integer c) -> ComplexArray | Sets all elements of the ComplexArray lhs to the constant c. |
set_constant(complex c) -> ComplexArray
Sets all elements of the ComplexArray lhs to the constant c.
Parameters
- c: The constant value to set all elements to.
set_constant(bool c) -> ComplexArray
Sets all elements of the ComplexArray lhs to the constant c.
Parameters
- c: The constant value to set all elements to.
set_constant(real c) -> ComplexArray
Sets all elements of the ComplexArray lhs to the constant c.
Parameters
- c: The constant value to set all elements to.
set_constant(integer c) -> ComplexArray
Sets all elements of the ComplexArray lhs to the constant c.
Parameters
- c: The constant value to set all elements to.