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