mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 10:12:28 +01:00 
			
		
		
		
	More type work
This commit is contained in:
		@@ -17,8 +17,12 @@ class GaussianWeightedSumFactor extends GaussianFactor
 | 
			
		||||
{
 | 
			
		||||
    private array $variableIndexOrdersForWeights = [];
 | 
			
		||||
 | 
			
		||||
    // This following is used for convenience, for example, the first entry is [0, 1, 2]
 | 
			
		||||
    // corresponding to v[0] = a1*v[1] + a2*v[2]
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * This following is used for convenience, for example, the first entry is [0, 1, 2]
 | 
			
		||||
     * corresponding to v[0] = a1*v[1] + a2*v[2]
 | 
			
		||||
     * @var array<int[]> $weights
 | 
			
		||||
     */
 | 
			
		||||
    private array $weights = [];
 | 
			
		||||
 | 
			
		||||
    private array $weightsSquared = [];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user