createFilledMatrix()
createFilledMatrix(mixed $value, integer $rows, integer|null $columns = null) : \Matrix\Matrix
Create a new matrix of specified dimensions, and filled with a specified value If the column argument isn't provided, then a square matrix will be created
Parameters
mixed | $value | |
integer | $rows | |
integer|null | $columns |
Throws
- \Matrix\Exception