Files
trueskill/src/Numerics/IdentityMatrix.php

12 lines
192 B
PHP
Raw Normal View History

2022-07-05 15:55:47 +02:00
<?php
namespace DNW\Skills\Numerics;
class IdentityMatrix extends DiagonalMatrix
{
public function __construct($rows)
{
parent::__construct(array_fill(0, $rows, 1));
}
2022-07-05 15:55:47 +02:00
}