Searched refs:rowSum (Results 1 – 1 of 1) sorted by relevance
77 std::vector<float> rowSum(n, 0); in GetWeights() local80 rowSum[i] += (*weights)[i][j]; in GetWeights()82 if (std::fabs(rowSum[i]) < EPSILON) { in GetWeights()83 rowSum[i] = 1.0f; // 1.0f default weight in GetWeights()86 (*weights)[i][j] /= rowSum[i]; in GetWeights()