createFilledMatrix()
createFilledMatrix(mixed $fillValue, int $rows, int|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 | $fillValue | |
int | $rows | |
int|null | $columns |
Throws
- \Matrix\Exception