More type work

This commit is contained in:
2023-08-03 09:13:19 +00:00
parent 50bd2b152a
commit 75829ddd60
6 changed files with 24 additions and 5 deletions

View File

@ -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 = [];