mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 10:12:28 +01:00 
			
		
		
		
	More types.
This commit is contained in:
		@@ -24,7 +24,7 @@ class BasicMath
 | 
			
		||||
    /**
 | 
			
		||||
     * Sums the items in $itemsToSum
 | 
			
		||||
     *
 | 
			
		||||
     * @param  array    $itemsToSum The items to sum,
 | 
			
		||||
     * @param  mixed[]    $itemsToSum The items to sum,
 | 
			
		||||
     * @param  \Closure $callback   The function to apply to each array element before summing.
 | 
			
		||||
     * @return number The sum.
 | 
			
		||||
     */
 | 
			
		||||
 
 | 
			
		||||
@@ -4,6 +4,9 @@ namespace DNW\Skills\Numerics;
 | 
			
		||||
 | 
			
		||||
class Vector extends Matrix
 | 
			
		||||
{
 | 
			
		||||
    /**
 | 
			
		||||
     * @param float[] $vectorValues
 | 
			
		||||
     */
 | 
			
		||||
    public function __construct(array $vectorValues)
 | 
			
		||||
    {
 | 
			
		||||
        $columnValues = [];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user