mirror of
https://github.com/furyfire/trueskill.git
synced 2025-06-28 07:30:54 +00:00
Pint applied for formatting
This commit is contained in:
@ -1,13 +1,15 @@
|
||||
<?php namespace DNW\Skills\Numerics;
|
||||
<?php
|
||||
|
||||
namespace DNW\Skills\Numerics;
|
||||
|
||||
class Vector extends Matrix
|
||||
{
|
||||
public function __construct(array $vectorValues)
|
||||
{
|
||||
$columnValues = array();
|
||||
$columnValues = [];
|
||||
foreach ($vectorValues as $currentVectorValue) {
|
||||
$columnValues[] = array($currentVectorValue);
|
||||
$columnValues[] = [$currentVectorValue];
|
||||
}
|
||||
parent::__construct(count($vectorValues), 1, $columnValues);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user