mirror of
https://github.com/furyfire/trueskill.git
synced 2025-07-05 20:12:46 +02:00
9 lines
196 B
PHP
9 lines
196 B
PHP
![]() |
<?php namespace Moserware\Skills\Numerics;
|
||
|
|
||
|
class IdentityMatrix extends DiagonalMatrix
|
||
|
{
|
||
|
public function __construct($rows)
|
||
|
{
|
||
|
parent::__construct(array_fill(0, $rows, 1));
|
||
|
}
|
||
|
}
|