Skip to main content

fill

Method of RealMatrix.

Overloads​

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

fill(bool c) -> void​

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

Parameters​

  • c: The constant value to fill with.

fill(real c) -> void​

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

Parameters​

  • c: The constant value to fill with.

fill(integer c) -> void​

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

Parameters​

  • c: The constant value to fill with.