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