62 $grid = static::createFilledMatrix($fillValue, $dimensions)->toArray();
64 for (
$x = 0;
$x < $dimensions; ++
$x) {
static createFilledMatrix($fillValue, $rows, $columns=null)
Create a new matrix of specified dimensions, and filled with a specified value If the column argument...
static createIdentityMatrix($dimensions, $fillValue=null)
Create a new identity matrix of specified dimensions This will always be a square matrix...
Class for the creating "special" Matrices.